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
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 !!!!
The text was updated successfully, but these errors were encountered:
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 !!!!
The text was updated successfully, but these errors were encountered: