enzyme-adapter-react-17
enzyme-adapter-react-17 copied to clipboard
Allow usage with react 18
Looks like there are not many breakings changes in react 18: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html
So I think this should work out of the box.
Okay looks like we need to update react-dom
usage here: https://github.com/wojtekmaj/enzyme-adapter-react-17/blob/c79dac87c502c51c297437af50afe19c4d2e8381/src/detectFiberTags.js#L14
Okay did stumble over your blog: https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl so I think we need to close this one.