Closed samuelgoldenbaum closed 3 years ago
Should I be expecting props to be automatically serialized?
Yes, that's how this plugin is supposed to work.
On which version are you? Are you using Windows?
Should I be expecting props to be automatically serialized?
Yes, that's how this plugin is supposed to work.
On which version are you? Are you using Windows?
On Mac, will create a simple test repo and try to see if there is something that may be conflicting
@Skn0tt reproduction in a blitz example app: https://github.com/blitz-js/blitz/commit/a9c49351ab53875e84f19f9cb42ac6a0cf3f07a9
yarn build
cd examples/store
blitz prisma generate && blitz start
http://localhost:3000/products/ssr
The issue is that withSuperJSONPage()
HOC is only added in the server build, not the client build. So in dev mode for example, the initial render on the server is success, but then the render on the client fails.
Question here.
Should I be expecting props to be automatically deserialized? Given the code below, my props come through as:
Example Code:
.baberc: