Skip to content

"use client" warnings #49

@Tobbe

Description

@Tobbe

Running yarn build I see
Module level directives cause errors when bundled, "use client" in "src/Counter.tsx" was ignored.
image

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 ran yarn why
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions