Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jul 17, 2024
1 parent 221cfc8 commit 65495b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/five-trees-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mobx-react-lite": patch
---

Added react-dom / react-native as optional dependencies to hint package manager that one of those might be needed. Fixes #3885
3 changes: 2 additions & 1 deletion packages/mobx-react-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"peerDependencies": {
"mobx": "^6.9.0",
"react": "^16.8.0 || ^17 || ^18",
"react-dom": ">=16.8.0"
"react-dom": ">=16.8.0",
"react-native": ">0.69"
},
"peerDependenciesMeta": {
"react-dom": {
Expand Down

0 comments on commit 65495b0

Please sign in to comment.