Enter loading substate while waiting for lazy engine to download.
See original GitHub issueGiven
Router.map(function() {
this.mount('my-engine');
});
and app/templates/my-engine-loading.hbs
, the loading substate only enters after the engine has downloaded. Is it possible to enter the loading substate before the engine starts downloading?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
ember-guides/loading-and-error-substates.md at master
This has implications on error handling, i.e. when a transition into another route fails, a lazy transition will (by default) just remain on...
Read more >Ember.js Loading substate templates | by Quang Nguyen
To keep your user waiting, you would want to create a loading substate by creating a loading.hbs or application-loading.hbs inside the templates folder...
Read more >Loading Resources at Runtime - Unity - Manual
To put anything into a Resource Folder, you simply create a new folder inside the Project View, and name the folder “Resources”. You...
Read more >Routing: Loading / Error Substates - Ember.js - GitHub Pages
baz completes, the loading substate will be exited, its template torn down, foo.bar.baz will be entered, and its templates rendered. Eager vs. Lazy...
Read more >Top 18 Most Common AngularJS Developer Mistakes - Toptal
Single page apps demand the front-end developers to become better software engineers. CSS and HTML are not the biggest concern anymore, in fact,...
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
@trentmwillis Same here. The loading template shows up until the JavaScript file and CSS file are downloaded.
May be we can have an intermediate transition by triggering
_scheduleLoadingEvent
here. But_scheduleLoadingEvent
requires arouteHandler
which will not be available until the engine resources are loaded. Thoughts?