-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Umbrella] Run SSR in Develop ☔ #25729
Comments
@blainekasten , I am ready to start looking into this from tomorrow. I will need to sync with you to get all the necessary understanding of what needs to be done, are you ready and willing to discuss this with me? |
@teclone Yes! Send me an email at [email protected] and we'll set up a time to hop on a video call to discuss! |
ok, done, thanks |
Related: #10706 |
What would be the outcome of this umbrella issue? We have a PR: #24872 that does something similar (runs But it fixes only a subclass of hydration issues (won't handle things like |
@teclone thanks for reaching out! This feature is actually now a priority of the core team for the next few sprints so we'll be able to complete it! |
@vladar I believe it is to create a proper SSR implementation and not the partial solution |
@blainekasten , Thanks a lot, I am following up with the progress. Kudos to you all |
This would be neat! I am constantly running into small issues due SSR and have to run gatsby build/serve every time. Would be really useful to use that feature. Would love to help as well 👍 |
+1 on this — my styled components break in production but look fine on dev. |
Hey everyone! We've shipped an initial version of SSR in develop in 2.27.0 — upgrade & try it out!
Read more about it + some other initiatives we're working on to speedup/improve the dev server https://github.com/gatsbyjs/gatsby/blob/master/docs/reference/release-notes/v2.27/index.md |
Also if you find bugs or oddities w/ dev ssr (or if you just want to comment on how awesome it is ;-)) — let us know over at #28138 |
I'll close this in favor of the same discussions, no point in having two duplicate things open: #28138 Please head on over there and give it a try! |
Summary
Gatsby currently does not run SSR in develop mode. This has caused some users headaches when they deploy gatsby apps to find that there are production-only issues due to SSR.
The solution is to convert gatsby develop into running true SSR.
Motivation
To make Gatsby easier to use, prevent hard to debug errors, and have a more consistent developer experience.
The text was updated successfully, but these errors were encountered: