How troubleshoot discrepancy between develop and build? #28663
Unanswered
einarpersson
asked this question in
Help
Replies: 1 comment
-
We have an experimental feature that enables SSR in development. Add the following to your // gatsby-config.js
module.exports = {
flags: {
DEV_SSR: true,
}, Please let us know at #28138 if you encounter any issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I currently have a situation where I see one thing when I run
gatsby develop
and another thing when I rungatsby clean && gatsby build
. However, if I resize the window it begins working the same. I do not see any errors in the console.Anyway, my question is more general. When you encounter discrepancies between local and production, how do you go about troubleshooting this? It feels as if it is very hard to debug this kind of issues. Am I missing something? And are there certain classes of errors to watch out for?
Thanks for any input,
/Einar
PS. I'm using a
useWindowDimensions
-hookBeta Was this translation helpful? Give feedback.
All reactions