Skip to content

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

@sameert-iprogrammer

Description

@sameert-iprogrammer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions