React developers, rejoice! A new example has been shared that makes using the React Context API easier and more efficient. The trick lies in fully typing the context types, which eliminates the need for babysitting and multiple imports. This example provides a quick and easy solution to these problems, making it perfect for those who want to harness the power of the React Context API without unnecessary complexity.
Source: https://dev.to/noriller/fully-typed-easy-react-context-api-example-4ne5