5 ms·
Nope - works perfectly. With React/Redux you can inject the initial state into the rendered page. Subsequent calls are then just api. See https://redux.js.org/
by __oh_es 8y ago
Nope - works perfectly. With React/Redux you can inject the initial state into the rendered page. Subsequent calls are then just api.
See
https://redux.js.org/recipes/serverrendering#inject-initial-component-html-and-state https://redux.js.org/recipes/serverrendering#inject-initial-...
for ideas.
- jugglebird 8y agoThere are elements of the article that argue against that though. It argues that the index.html will be small (and thus not an issue to not cache), which will not be the case if you're server-rendering pages.