Understanding React Hooks by building a simple App

Photo by Brook Anderson on Unsplash

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.

react-hooks

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

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.

--

--

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

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