vessel
Implementation
Call Signature
Section titled “Call Signature”vessel<
V>(definition,component):VesselEntry<V>
Defined in: packages/react/src/lib/vessel.ts:12
Register a vessel with an eagerly-loaded component
Type Parameters
Section titled “Type Parameters”V extends VesselDefinition
Parameters
Section titled “Parameters”definition
Section titled “definition”V
component
Section titled “component”ComponentType<TypedVesselProps<V>>
Returns
Section titled “Returns”VesselEntry<V>
Call Signature
Section titled “Call Signature”vessel<
V>(definition,loader,loadingComponent):LazyVesselEntry<V>
Defined in: packages/react/src/lib/vessel.ts:18
Register a vessel with a lazily-loaded component
Type Parameters
Section titled “Type Parameters”V extends VesselDefinition
Parameters
Section titled “Parameters”definition
Section titled “definition”V
loader
Section titled “loader”loadingComponent
Section titled “loadingComponent”ComponentType<{ vesselId: VesselId; }>