You’ve been using a component’s state and props to manage the information rendered in your React applications. However, applications generally use global state to share the same information across multiple components. After reading and practicing how to use React Context, you should be able to manage application-wide data by:
Context.Provider
to set a component’s default contextContext.Consumer
to share the global context through render props