Lazy Loading Route-less Engines
See original GitHub issueI don’t think this feature has been implemented / tested but I’ll go ahead and log an issue for tracking. Lazy-loading non-routeable engines is not working. The assets are never loaded and as such are not registered…
I end up with this error “Assertion Failed: You used {{mount 'nonrouteable'}}
, but the engine ‘nonrouteable’ can not be found.”"
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:17 (8 by maintainers)
Top Results From Across the Web
ember-lazy-mount
As soon as the helper is rendered, it will begin loading the specified engine. If the engine is already loaded, it will be...
Read more >Dynamically loading an Ember component
I investigated Ember Engines, but it doesn't seem suitable, as lazy-loading does not work with route-less engines. As I understand it, ...
Read more >@buschtoens/ember-engines NPM | npm.io
Route-less engines, which can be rendered in a template using the {{mount}} keyword. ... Until lazy loading is supported, this should be set...
Read more >Benefits of Lazy Load for WordPress - WP Engine
Lazy loading elements of your WordPress site can be a great way to speed up your page! Check out the comprehensive WP Engine...
Read more >Popular "keywords:"engines"" JavaScript packages | Skypack
Check engines you have defined in a file or `package.json` section that satisfies your global or locally ... {{mount}} lazy loading route-less engines....
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
Any updates on this? Our app is route-less and need to use lazy loading for the engine. Main JS file is like 3MB and some users are not having access to all the areas.
Following the concept of route-less, I think we should start the request to load the Engine assets, when the template of that route / component is called. We can do something like what React does:
I would love to work on this and various features of ember-engines, but I need someone to introduce me to the gears of this addon