-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with loading routes #204
Comments
@t4t5 I think the best way to handle this case is to ensure that the model data used to do the initial, server-side render is also included in the HTML payload. FastBoot will handle this serialization for you automatically via the |
@t4t5 Gonna close this issue, but please comment if you have further questions about "the shoebox." |
I ended up creating an addon called ember-data-fastboot-route. It handles serialization and loading of data from the shoebox for all routes that have a model defined. Read more here. It fixed both my issues with the loading substates and using store.query for server side paging |
…/debug-4.1.0 fix(package): update debug to version 4.1.0
Here's the problem: we want to use FastBoot to speed up initial loading time BUT we also want to keep our loading-routes so that, once Ember has loaded, transitioning between routes gives the user instant UI feedback.
What happens instead is that the correct server-rendered page starts loading at first, but is then taken over by the loading-route as soon as the JavaScript kicks in, only to go back to the data (that was initially server-rendered) again once the API calls are done.
Here's a video showing what that looks like: http://cl.ly/0C430b2d0c1e
What would be the best way of handling this?
The text was updated successfully, but these errors were encountered: