How to use React Hooks & Context in an Ethereum Dapp?

Register to the FREE mini-course “become a blockchain developer” on to learn how to get a remote blockchain job making 100k. (Like I did myself).

React 16.8 introduced 2 new APIs: React Hooks & Context. They simplify significantly the code of our frontend applications.

In this tutorial, I am going to show you how you can use React Hooks & Context in your Ethereum Decentralized Application (Dapp). We are going to see:
– React Hooks (useState, useEffect…)
– React Context (useContext, defining a context, context provider / consumer…)

Full React Dapp series here:

Other Links:
– Intro to Truffle:
– React hooks:
– React context:
– Forum:
– Blog:
– Author Website:

Post Author: hatefull