Understanding React Hooks by building a simple App

We are going to build a simple app using the latest React feature of hooks, which lets us use Class components concepts in Functional components.

This series have been inspired from an example in “Modern React with Redux” series by Stephen Grider on udemy.

So, open up your terminal and create a new react app react-hooks.

Image for post
Image for post
react-hooks

Next, cd into that directory. Open up your code editor and start the react application.

Image for post
Image for post
initial setup

You can read the rest of the blog from my site in the below link.

You can find the final code for the same in this github link.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

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