Using Context API in React with Hooks

I had created a simple translation app using React Context API, in a class based project 1 year back. All the concepts with Context remains almost same, so go through that post before coming here. You can find it here.

Now, it’s time to refactor it to using hook based context system. So, let’s clone the old project and move ahead.

Image for post
Image for post
git clone

You can find the rest of the article on my blog site. The link for same is below.

You can find code for the same in my Github repo here.

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