Converting React Class Components to Function Components using Hooks
With React Hooks now being part of the stable release, let's take a look at how to convert a class-based React component to a Function component, including state usage and life cycle methods.
Tags: javascript, react, reacthooks, functioncomponents