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

Is possible use Deferred components for big modules? #958

Closed
d3roch4 opened this issue May 15, 2024 · 2 comments
Closed

Is possible use Deferred components for big modules? #958

d3roch4 opened this issue May 15, 2024 · 2 comments
Labels
new New issue request attention question Questions about using some feature or general working of the package

Comments

@d3roch4
Copy link

d3roch4 commented May 15, 2024

Describe the question
Flutter supports deferred, or "lazy", loading on Android and the web. Is possible use this with this package?

For example, if I have a big module, is possible a lazy loading for its module?

@d3roch4 d3roch4 added new New issue request attention question Questions about using some feature or general working of the package labels May 15, 2024
@eric-oliveira23
Copy link

eric-oliveira23 commented Jan 1, 2025

same question, did you find any solution?

@davidsdearaujo
Copy link
Member

davidsdearaujo commented Jan 2, 2025

You can make the routes deferred if you want, take a look at this example: [code]

Screen.Recording.2025-01-02.at.12.44.58.mov

Note: on web it doesn't work with wasm, you need to run using canvaskit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new New issue request attention question Questions about using some feature or general working of the package
Projects
None yet
Development

No branches or pull requests

3 participants