stereobooster/react-snap
Generate json-files from ajax requests
Aberta
#221 aberto em 23 de jul. de 2018
enhancementhelp wanted
Métricas do repositório
- Stars
- (4.982 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Hi!
I've just started using react-snap together with create-react-app, loadable-components and redux. Everything works great so far. React-snap generates prerendered html for every route that can be used for the initial requests, loadable-components generates js-bundles for all the subsequent navigation/requests and data is fetched in the form of json from a rest-api.
Would it be possible for react-snap to also generate separate json-files along with the prerendered html and make all subsequent requests fetch those instead of burden the rest-api?
Thanks in advance!