Replies: 2 comments
-
Just faced same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Following because I'm having the same issue |
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
-
https://github.com/zeit/next.js/blob/cadc950e2d2eea969ddabf135e9223b2c21108d6/examples/with-firebase/context/userContext.js#L12
Following the with-firebase example, userContext.js inits firebase and returns the user as expected when running in development mode with
next
, but when serving the output ofnext build
, firebase inits, but user returnsnull
. I'm using SSG for most pages, so not sure if that has some effect.Beta Was this translation helpful? Give feedback.
All reactions