An Introduction To React’s Context API

 

For this tutorial, you should have a fair understanding of hooks. Still, before we begin, I’ll briefly discuss what they are and the hooks we’ll be using in this article. According to the React Docs: “Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.” That is basically what a React hook is. An Introduction To React’s Context API

thumbnail courtesy of smashingmagazine.com