erikras / erikras/react-redux-universal-hot-example

Question: How is window.__data being set by the server (and where?)

Open
#1,259 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I'm looking into storing the redux state in localStorage to be loaded initially, but it seems that the server is already doing this somehow? I'm a little confused as to where the data is setting window.__data and assume its some library call doing it. Thanks!

Additionally we've moved away from sessions and towards a RESTful API but I'm worried about performance in terms of server side rendering / redux model storage and how thats working. I appreciate any advice!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.