Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async React Reconciler #32051

Closed
wants to merge 2 commits into from

Conversation

Hemant77777777
Copy link

#32046

Modified ReactFiberReconciler.js:

Added an asynchronous createInstance method to support dynamic imports based on the type parameter.
Added logic to preload all modules before rendering by traversing the tree to identify all required components.

Added a Test File customRenderer.test.js:

Created a test file to validate the changes to the reconciler.
Mocked components and tested the dynamic import functionality using the preloadModules and render methods.

Updated babel.config.json:

Added a Babel configuration to enable JSX transformation.
Presets Added:
@babel/preset-env for modern JavaScript.
@babel/preset-react for JSX support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants