Note that hooks make a lot of higher-order components unnecessary. A lot of what was previously done using HOCs can now be done using hooks, as you can make your own custom hooks (they're just functions). Libraries like Relay are moving towards hooks, and the Redux use case you mentioned could also be done with hooks.
For testing, I'd personally recommend react-testing-library over Enzyme: testing-library.com/docs/react-tes...
Valid points - thanks for sharing !
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.