-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): upgrade react to v18 #278
chore(deps): upgrade react to v18 #278
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@testing-library/[email protected], npm/@types/[email protected], npm/@types/[email protected] |
"@types/react": "16.14.60", | ||
"@types/react-dom": "16.9.24", | ||
"@types/react": "18.3.3", | ||
"@types/react-dom": "18.3.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest version of @types/react-dom
is 18.3.0: https://www.npmjs.com/package/@types/react-dom.
Closing as we decided to not upgrade React yet. The upgrade was meant to allow us to use Headless UI v2, which only supports React 18 or above. With React being moved to the We will defer this change until we can get to the React upgrade in /learn. |
Checklist:
Update index.md
)This PR upgrades
react
andreact-dom
to v18. Thetesting-library
packages also need to be upgraded as a result, since the older versions don't support the newer versions of React:Closes #232
Note: This should be merged after #275.
Testing
pnpm storybook
andpnpm test
and confirmed they are working as expected