Context provides a way to pass data through the component tree without having to pass props down manually at every… The API is using a render props pattern so you can use the API flexible. const LangContext = React.createContext(null);const App = () => ( <LangContext.Provider value="en"> <LangContext.Consumer> {lang => <Message text="hello" lang={lang} /> } </LangContext.Consumer> </LangContext.Pr