question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do you have any example for the lazyload?

See original GitHub issue

in 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:closed
  • Created 6 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
Thorskicommented, Jun 13, 2017

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!

0reactions
dschnelldaviscommented, Nov 1, 2017

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found