You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a route's model takes some time to load and there is a ...-loading.hbs for the route, it is not shown when entering the aliased route - the previous page just stays there until loading is completed and the actual route template is rendered.
If this is intentional or unavoidable, it would be helpful to learn that directly from the documentation.
Example:
// tests/dummy/app/routes/one.js
import Route from '@ember/routing/route';
export default Route.extend({
model() { return new Promise(resolve => setTimeout(resolve, 3000)) }
})
When a route's model takes some time to load and there is a ...
-loading.hbs
for the route, it is not shown when entering the aliased route - the previous page just stays there until loading is completed and the actual route template is rendered.If this is intentional or unavoidable, it would be helpful to learn that directly from the documentation.
Example:
Then visit
/one
, visit/two
(or any other route), then visit/alias-one
.The text was updated successfully, but these errors were encountered: