Support for server-side rendering
See original GitHub issueI am currently using Storeon with Gatsby. It working just fine on development but when Gatsby is on build stage where it will generate static HTML file, it failed because Storeon is undefined
.
I think that it happens because during SSR, the StoreContext
is undefined
https://github.com/storeon/storeon/blob/d9f4d004664208957bd28897b1cf91fcd17d941c/react/index.js#L6
and when it’s trying to get()
data it called from undefined
and causing it to crash
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
What is server-side rendering and how does it improve site ...
Server-side rendering ensures that website content appears quickly, without first having to download and run application code.
Read more >What is Server-Side Rendering? Definition and FAQs
Server-side rendering (SSR) is an application's ability to convert HTML files on the server into a fully rendered HTML page for the client....
Read more >Improve app performance with React server-side rendering
Server-side rendering is when content on your webpage is rendered on the server and not on your browser using JavaScript. For example, with...
Read more >How to Enable Server-Side Rendering for a React App
Server -side rendering (SSR) is a popular technique for rendering a client-side single page application (SPA) on the server and then sending ...
Read more >What is server-side rendering? - Educative.io
Server-side rendering (SSR), is the ability of an application to contribute by displaying the web-page on the server instead of rendering it in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, man. I will help to contribute more on documentation in stores and some plugin as well.
Thanks. Released in 3.0.
BTW, good website 👍. My projects are NSFW-safe zone, since I post NSFW content to my Twitter too.