Embeddables are re-usable widgets that can be rendered in any environment or plugin. Developers can embed them directly in their plugin. End users can dynamically add them to any embeddable containers.
Containers are a special type of embeddable that can contain nested embeddables. Embeddables can be dynamically added to embeddable containers. Currently only dashboard uses this interface.
yarn start --run-examples
and navigate to the Embeddable explorer app.
There is also an example of rendering dashboard container outside of dashboard app here.
(./docs/README.md)[Embeddable docs, guides & caveats]
Run unit tests
yarn test:jest src/plugins/embeddable