This component creates a new container and provides it to React children.
If a binder callback is specified, it will be called for the new container
to bind it with dependencies.
If a parent container exists, it is connected to the current one by default.
To create a root container specify root parameter as true,
and the container will not depend on any parent container.
Provides a new dependency container to React app
This component creates a new container and provides it to React children.
If a
binder
callback is specified, it will be called for the new container to bind it with dependencies.If a parent container exists, it is connected to the current one by default. To create a root container specify
root
parameter astrue
, and the container will not depend on any parent container.Example