-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"use client" warnings #49
Comments
Me neither 😓 |
This was referenced Jun 3, 2023
Merged
Oh I know why! |
It use |
9 tasks
But now we still have warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
yarn build
I seeModule level directives cause errors when bundled, "use client" in "src/Counter.tsx" was ignored.
I thought this would have been solved as of
@vitejs/plugin-react
v4. And just to make sure I was actually using the correct version I ranyarn why
The fix is mentioned under "Other notable changes" in the release notes https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%404.0.0
So not sure why I'm still seeing it
The text was updated successfully, but these errors were encountered: