Skip to content

Commit

Permalink
fix(router): Add missing dependency for RSC (#11591)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Sep 20, 2024
1 parent 3fc9a45 commit d2fe56c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changesets/11591.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- fix(router): Add missing dependency for RSC (#11591) by @Tobbe

Adding missing dependency `react-server-dom-webpack` to the `@redwoodjs/router` package. This should fix an error some people were seeing when trying to use RSC.
3 changes: 2 additions & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"@redwoodjs/server-store": "workspace:*",
"core-js": "3.38.1",
"react": "19.0.0-rc-f2df5694-20240916",
"react-dom": "19.0.0-rc-f2df5694-20240916"
"react-dom": "19.0.0-rc-f2df5694-20240916",
"react-server-dom-webpack": "19.0.0-rc-f2df5694-20240916"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8588,6 +8588,7 @@ __metadata:
publint: "npm:0.2.10"
react: "npm:19.0.0-rc-f2df5694-20240916"
react-dom: "npm:19.0.0-rc-f2df5694-20240916"
react-server-dom-webpack: "npm:19.0.0-rc-f2df5694-20240916"
tstyche: "npm:2.1.1"
tsx: "npm:4.19.1"
typescript: "npm:5.6.2"
Expand Down

0 comments on commit d2fe56c

Please sign in to comment.