Isomorphic API that can be used during SSR & CSR. Documentation
Returns ref to HTMLElement
that should be used as container to render app's content
App MUST use it to propagate all unhandled errors. Usually it's used in app's adapter.
Base path that is relative to the matched route.
So for reqUrl = /a/b/c?d=1
& matched route /a/*
base path will be /a/
.
While for reqUrl = /a/b/c?d=1
& matched route /a/b/c
base path will be /a/b/c
.
Returns Props that were defined for current path
Each application is provided a mountParcel
function. The main advantage to using an applications mountParcel
function
is that parcels mounted via an applications mountParcel
will be automatically unmounted when the application is unmounted.
Unique application ID, if same app will be rendered twice on a page - it will get different IDs
Generated using TypeDoc
Describes all properties that are passed by ILC & single-spa to the application lifecycle Fns