enoki
enoki copied to clipboard
Added state.site.preloaded for server-side rendering
trafficstars
Currently, if you preset the state using window.initialState the most optimal thing you can do is to disable the initial rendering. It would be useful to disable the automatic content.json request too, as we already have the content at the server level.
This way whenever you also set state.site.preloaded to true at rehydration, Enoki won't send the request again for content.json.
Hey, any update on this? 🤔