reading-notes


Project maintained by Razan-am Hosted on GitHub Pages — Theme by mattgraham

Context API - Behaviors

When you have multiple contexts, what component type should you use (class/function) and why?

What are some good use cases for using the Context API for global state?

How can you best test context?



context api

When to Use Context

Before You Use Context

API


Terms


References:

@By Malin Milford/https://itnext.io/jest-tests-with-react-context-api-90f3d2e06c8f

@By reactjs/Context