Do you have any example for the lazyload?
See original GitHub issuein my case, some of my page are using the lazy-load, but when i imported the JsonSchemaFormModule
into my module, i will meet the error message about the BrowserModule is already loaded
, i am ensure that other modules are in the same way, but the browsermodule Error is not appeared.
so do you having any solutions in my case?
ps: i had import the BrowserModule in the app.module.ts
and import the CommonModule
in other sub modules
thanks a lot
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Use lazy loading to improve loading speed - web.dev
An example of image lazy loading can be found on the popular publishing platform Medium, which loads lightweight placeholder images at page ...
Read more >Lazy Loading Images – The Complete Guide - ImageKit.io
In this guide, we will talk about lazy loading images, a technique that helps improve the page load time and reduces page size,...
Read more >What is Lazy Loading? - GeeksforGeeks
Lazy loading (also called on-demand loading) is an optimization technique for the online content, be it a website or a web app.
Read more >Lazy loading - Web performance | MDN
Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the ......
Read more >What is Lazy Loading? - PageDart
Images are not the only element that can be lazy loaded. iFrames can also be lazy loaded. A good example of this is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, David Schnell-Davis.
The problem is in the Material Design Framework. In the file material-design-framework.module.ts the BrowserAnimationsModule is imported. BrowserAnimationsModule imports BrowserModule. Only one copy of BrowserModule is allowed and should only be imported at the root module.
If I comment out this import, then my example works (on my local machine where I have a copy of your git repository code).
Can you fix this and release it?
Thank you!
@Thorski Thanks for the update. I don’t currently have a good way to test lazy loading. So I’ll close this for now, but it happens again, please post again so I can re-open it and take a closer look.