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

[Feature Request] Not able to use react lazy() for code splitting #77

Open
sameert-iprogrammer opened this issue Jun 16, 2023 · 0 comments

Comments

@sameert-iprogrammer
Copy link

What is your enhancement?

We tried using react lazy() for code splitting but after changes, unable to generate build. System hangs if build creation is in progress.
Currently after build we have 4 chunk js files which are having 16mb size hence app takes too much time to load so wanted to split code and improve performance. Please let us know if argon react supports react lazy.
https://react.dev/reference/react/lazy#suspense-for-code-splitting

Version: argon-dashboard-pro-react 1.2.0

Current structure: routes.js file having array of routes and in Admin.js, we have used routes array

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

No branches or pull requests

1 participant