How can we change the lifecycle methods to hooks in React with an example

Using of lifecycle methods and their implementation ans will the same example with hooks useState, useEffect. Functional Components are fast Faster as they do not have state and lifecycle, react needs to do less work to render these components. These components tend to be shorter and more concise. And these components do not use “this”… Continue reading How can we change the lifecycle methods to hooks in React with an example