I made a "use-client" plugin #7631
coder-xiaotian
started this conversation in
Show and tell
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
use-client
A swc plugin that automatically converts react component libraries into "React Client Component". For example, you can automatically convert components from @mui into "React Client Component" without having to wrap a component that uses "use client".
Configuration
Examples
next.js configuration:
swc configuration:
Beta Was this translation helpful? Give feedback.
All reactions