Providers

Providers are common stateful dependencies for your whole application.

A few examples of such providers include:

  • Configuration
  • Redux store
  • Current theme
  • ...more

The providers can be expressed in a single object here:

const providers = {
  store: reduxStore,
  config: {},
  theme: 'light'
};

The idea is to share this single providers object globally in your application.