Version: 5.x
single-spa-cycle
single-spa-cycle is a helper library that helps implement single-spa registered application lifecycle functions (bootstrap, mount and unmount) for for use with Cycle.js. Check out the single-spa-cycle github.
#
Installation#
QuickstartIn your project's entry file, add the following:
#
OptionsAll options are passed to single-spa-cycle via the opts
parameter when calling singleSpaCycle(opts)
. The following options are available:
run
: (required) Cycle.js run function.drivers
: (required) Drivers (including DOM Driver) to be used by your Cycle.js root component.rootComponent
: (required) The top level Cycle.js component which will be rendered