How to use React Context with Hooks & TypeScript
Straightforward and clean
Published in
2 min readJan 10, 2021
Although I don’t reach for React Context all the time, there are some use cases where it can be a great tool. Recently, I had to use them in a TypeScript project with Hooks, and struggled for a bit.