Skip to content
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

Universal rendering #137

Open
eric-basley opened this issue Jun 8, 2016 · 0 comments
Open

Universal rendering #137

eric-basley opened this issue Jun 8, 2016 · 0 comments
Labels

Comments

@eric-basley
Copy link
Contributor

PB : all routes can be server side rendered, but because data loading is asynchronous, index.html is sent before data are loaded !

We have yet no way to wait for data, so the solution is to preload needed data, but data depend on route, and again we have no dependencies between routes and needed data.

The actual status is to load some data (companies, missions, people), initialize the store with them, then process request ( and embed those data in index.html to accelerate further client requests). If the request has all needed data, it will be completely rendered, else rendering will be completed on client side.

SOLUTION: find a way to link routes with data !!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant