From efbf0a011b4fa297def6fc593dd3a1c59e159d3d Mon Sep 17 00:00:00 2001 From: Ebenezer Akinkahunsi <85417049+drDre-code@users.noreply.github.com> Date: Mon, 17 Oct 2022 10:18:17 +0100 Subject: [PATCH] Add peer dependency for React 18 in combobox package Hey team, right now if you install this package with a fresh React 18 project, you get a ERESOLVE unable to resolve dependency tree and I made this small change so that not everyone needs to do the whole --legacy-peer-deps thing. --- packages/combobox/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 78504acb1..24da838a6 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -34,8 +34,8 @@ "tsup": "^6.1.3" }, "peerDependencies": { - "react": "^16.8.0 || 17.x", - "react-dom": "^16.8.0 || 17.x" + "react": "^16.8.0 || 17.x || 18.x", + "react-dom": "^16.8.0 || 17.x || 18.x" }, "main": "./src/reach-combobox.tsx", "types": "./src/reach-combobox.tsx",