When the new React Context API introduced, they showcased it with runtime theme and localization changing. React Context API is a perfect match for these use cases, because
it allows to provide some not so frequently changing value deep down the view tree and makes accessing this value really easy.
With the help of the React Context API, hooks and function components, we can handle runtime theme changing in a really elegant way.