From c7d68f5657013446dc9fa5f197f159ae6c4538e6 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Wed, 17 Jul 2024 21:48:45 +0200 Subject: [PATCH] fix: added react-dom as optional peer dep, fixes #3885 --- packages/mobx-react-lite/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mobx-react-lite/package.json b/packages/mobx-react-lite/package.json index 4acde6eba..9ce0de8cd 100644 --- a/packages/mobx-react-lite/package.json +++ b/packages/mobx-react-lite/package.json @@ -41,7 +41,8 @@ }, "peerDependencies": { "mobx": "^6.9.0", - "react": "^16.8.0 || ^17 || ^18" + "react": "^16.8.0 || ^17 || ^18", + "react-dom": ">=16.8.0" }, "peerDependenciesMeta": { "react-dom": {