DEV Community

Cover image for Upgrading to React 17

Upgrading to React 17

John Fay on November 13, 2020

New Release As with any major release, there are typically breaking changes. Although the changelog for React states "No New Features" t...
Collapse
 
sesamechicken profile image
sesamechicken

Sadly we’re still waiting for the react 17 enzyme adapter. If you’re not - shame on you for not testing your code! 🤪

Collapse
 
keonik profile image
John Fay

Would you still need that if you’re using testing-library/react?

Collapse
 
sesamechicken profile image
sesamechicken

My guess is no, as you’re not dependent on enzyme. But, I’d have to stand up a test project or look at the testing-library repo

Thread Thread
 
keonik profile image
John Fay

I switched from enzyme to testing-library about a year and half ago. I honestly don’t remember enzyme much already. I do enjoy testing library’s access methods.

Thread Thread
 
sesamechicken profile image
sesamechicken

I should take a look! I primarily stick with jest because the test suites behave and are constructed for front end and back end (node) code.

Thread Thread
 
keonik profile image
John Fay

It’s still jest. It’s just an alternative for rendering components to enzyme. Yeah try it out!

Collapse
 
octsiri profile image
Dominggus Octovianus

Hi all, who has experienced flow server keeps stopping working while upgrading React 17? Even after I upgrade my flow version to 0.126.0, it stills the same. :(