React Hooks makes everything simple

We all familiarize ourselves with the traditional class-based React components. Sometimes we use functional components for some display components that do not need to use state. The functional components have fewer lines of code and more approachable. For example, if you want to call aprops that was passed down from a higher-level component, you can just use props instead of this.props which is always use in class components. I love using functional components to write a React app but it has some drawbacks compared with class components. We can not initialize state in functional components...

Full Stack Developer Connect with me here:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store