You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was an option to enable data-superjson by default for React components, so any props passed from server component to client component are automatically serialized using superjson. With the data-superjson attribute it is easy to forget to add it, which can cause weird bugs that TypeScript can't protect you against.
The text was updated successfully, but these errors were encountered:
FeldrinH
changed the title
Support for using superjson by default in app directory (without data-superjson)
Support for using superjson by default with server components (without data-superjson)
Aug 19, 2023
It would be nice if there was an option to enable
data-superjson
by default for React components, so any props passed from server component to client component are automatically serialized using superjson. With thedata-superjson
attribute it is easy to forget to add it, which can cause weird bugs that TypeScript can't protect you against.The text was updated successfully, but these errors were encountered: