Nothing here yet.
I am available for mentoring, paid gigs, remote work
Hi Tapas. With the React Hooks API, the code reuse and optimization I highlighted can be achieved easily, and in most scenarios, more gracefully than with HOCs. HOCs are just one way to do it. At the end of the day, it all boils down to preference. A detailed comparison is available here: https://medium.com/@albertchu539/higher-order-components-in-a-react-hooks-world-69fe1f0b0791