Skip to content

React 17 support

Compare
Choose a tag to compare
@benwallman benwallman released this 06 Nov 09:08
· 262 commits to main since this release
6f77ab7

N.B. Release notes added on 13/11/23

In theory there's no issues upgrading from React 16 to React 17. https://legacy.reactjs.org/blog/2020/10/20/react-v17.html

I've marked this as a major version bump purely because it will cause some projects to break. Anything with a hardcoded dependency on React 16, specifically. Locally this can be avoided with the legacy-peer-deps flag, but ultimately the only answer with dependencies is to keep them up to date (as React 17 is 3 years old, it's still not up to date...)

Some libraries which are deprecated (e.g. Enzyme) don't support React 17 out the box, but there are usually workarounds (e.g. https://stackoverflow.com/questions/64658031/which-enzyme-adapter-works-with-react-17).

Also any teams which are struggling with this update please let me know and I'll be happy to pair to get this sorted.