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
<strong> SWC Plugin for Next.js (Canary Recommended)</strong>
20
-
</p>
21
+
- Allows pre-rendering functions to return props including [Non-JSON Values](https://github.com/blitz-js/superjson#parse)(Date, Map, Set..)
22
+
23
+
### /app (App Directory)
21
24
22
-
This plugin allows the pre-rendering functions to return props **including complex objects(Date, Map, Set..) that cannot be serialized by standard JSON.**
25
+
```jsx
26
+
// Use "data-superjson" attribute to pass non-serializable props to client components
27
+
// No needs to change the propsType of Client Component (It's type-safe!)
0 commit comments