1.1.0 - Programmatic API and overhauled internals
Release notes
This release had two goals:
- Rewrite the internal transport mechanism to send content from a
Portal
to aPortalTarget
- Open up the API for this mechanism to allow programmatic access to it.
This lays the foundation for introducing additional features in the next version.
Things we added
- (#42)
Wormhole
export of the package offers programmatic access to the transport mechanism. Its API is documented here. - (#40) The
PortalTarget
component emits an event whenever it receives new content (docs). - (#41) The
PortalTarget
now accepts slot content and renders it when there's no content so show from aPortal
. This allows displaying default content.
Things we fixed
No bugfixes in this release
Things we broke
No breaking changes.