Skip to content

Commit

Permalink
Merge pull request #770 from Toumash/pr/723-react-swc-warning
Browse files Browse the repository at this point in the history
docs: warn react users about hmr not working when using @vite/plugin-react-swc
  • Loading branch information
AmySteam committed Dec 6, 2023
2 parents 20faa15 + 29e1d36 commit fc49742
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ npm init vite@latest

CRXJS support for Vite 3 is in beta.

:::

:::info react users

HMR in CRXJS is incompatible with `@vite/plugin-react-swc`. We recommend using @vitejs/plugin-react instead.

:::

</TabItem>
Expand Down

1 comment on commit fc49742

@vercel
Copy link

@vercel vercel bot commented on fc49742 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.