segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

Usage in React 18 #1484

Closed MitchellMarkGeorge closed 2 years ago

MitchellMarkGeorge commented 2 years ago

Hi, I was trying to use this library with React 18 and got the error that the peer dependencies were wrong. I noticed that in the package.json that it still required version 17. Please when will the library be updated to support React 18?

brandongregoryscott commented 2 years ago

Hey @MitchellMarkGeorge - I assume you managed to install it with --force or --legacy-peer-deps, but we've just bumped our peer dependency requirement to allow for React 18 in v6.10.0 - hopefully this is easier now!