Replies: 1 comment 1 reply
-
|
Up! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on implementing
lazy loadingwithin my application. Below are the key snippets from my code:As evident below, I have implemented a
DataRouterin accordance with the prerequisites outlined in the documentation for enablinglazy loadingfunctionality.The
loadingstate do not seem to ever change and is stuck toidle. Therefore, I am not in a position to conditionally render a loading screen. I have followed the documentation to the best of my abilities and I do not see where I am going wrong...Moreover, upon inspecting the
Network tabin theDev Tools, I noticed that my bundle does not appear to be chunked as expected. Why is this the case? Isn't the purpose oflazy loadingto reduce the bundle size?Any help would be appreciated, and documenting this specific use case in details could be beneficial to the community IMHO.
Beta Was this translation helpful? Give feedback.
All reactions