Blog

Suppose you have a global theme state at the root level within a component called <App />. You want to give access to this theme object to multiple components at different levels in the DOM tree. Select the most appropriate method to do this: