The base configuration of your application is:
{ state, actions, effects }
When your application grows it will be necessary to split up your configuration. Overmind provides some helpers allowing you to structure and scale up your configuration.
Allows you to merge configurations together.
h(Example, { name: "api/config_merge" })
Note that merge can be useful to combine a root configuration with namespaced configuration.
Allows you to namespace configurations by a key.
h(Example, { name: "api/config_namespaced" })
You can also lazy load configurations. You do this by giving each configuration a key with a function that returns the config when called. To actually load the configurations you can either call an effect or an action with the key of the configuration to load.
h(Example, { name: "api/config_lazy" })