diff --git a/packages/xstate-react/package.json b/packages/xstate-react/package.json index 9417648228..451bdfbca7 100644 --- a/packages/xstate-react/package.json +++ b/packages/xstate-react/package.json @@ -54,7 +54,7 @@ "url": "https://github.com/statelyai/xstate/issues" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "xstate": "workspace:^" }, "peerDependenciesMeta": { diff --git a/packages/xstate-store/package.json b/packages/xstate-store/package.json index ef2b93cf34..fb242b54b4 100644 --- a/packages/xstate-store/package.json +++ b/packages/xstate-store/package.json @@ -69,7 +69,7 @@ "xstate": "workspace:^" }, "peerDependencies": { - "react": "^18.2.0", + "react": "^18.2.0 || ^19.0.0", "solid-js": "^1.7.6" }, "peerDependenciesMeta": {