-
-
Save uploadcare-user/814b100415137c2241c3892c073031e2 to your computer and use it in GitHub Desktop.
Short snippet frequently encountered in apps with Redux and server-side rendering
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.__INITIAL_STATE__ = <%- JSON.stringify(initialState) %>; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment