Skip to content

Commit

Permalink
fix(dev): ignore missing react-dom/client for react 17 (#6725)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Jun 29, 2023
1 parent 4ef7a88 commit 4bd1a6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-games-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/dev": patch
---

ignore missing react-dom/client for react 17
2 changes: 1 addition & 1 deletion packages/remix-dev/config/defaults/entry.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default () => {
import("react/jsx-dev-runtime");
import("react/jsx-runtime");
import("react-dom");
import("react-dom/client");
import("react-dom/client").catch();
import("react-refresh/runtime");
import("@remix-run/react");
import("remix:hmr");
Expand Down

0 comments on commit 4bd1a6d

Please sign in to comment.