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.

Support for lazy loading

See original GitHub issue

Is it possible to make browserify load modules async? something like require.async?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sassanhcommented, Aug 12, 2016

I were able to achieve this using --external and --require without using partition-bundle. The problem with partition-bundle was that it was impossible to make some files compile into some specific bundle for any case. Another issue is it’s not actively maintained. A combination of --external, --require and factor-bundle works really nice and is totally customizable.

0reactions
sassanhcommented, Oct 18, 2016

I think community around browserify will benefit a lot from an actively maintained lazy load module but it needs to be really active which means it should fix corner case issues reported by users quickly. extractify as I see in its main page has its latest commit few months ago. No issue submitted yet. I guess it’s just in its early phases. I hope in it’ll get enough attention and fills the gap in future. I’ll try to give it a try in a project and report any issue I find (if any) as soon as I have some free time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lazy loading via attribute for images & iframes
1 Firefox only supports lazy loading for images · 2 Can be enabled in Settings under the Safari > Advanced > Experimental Features...
Read more >
Browser-level image lazy loading for the web - web.dev
Browser-level support for lazy loading images is now supported on the web! This video shows a demo of the feature: In Chrome 76...
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 >
Cross Browser Compatibility of Lazy loading via attribute ...
Browser Support for Lazy loading via attribute for images & iframes · Chrome · Safari · Firefox · IE Internet Explorer · Opera...
Read more >
Fix Lazy-Loaded Website Content | Google Search Central
Lazy loading is a common website performance and UX best practice. Learn how to test and fix lazy loaded content with SEO best...
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