Building on the basic reactive example, this example uses StateHelper to drive a simple breadcrumb component.
In this example, the shared state
property is passed to the breadcrumb component, which:
- renders only the navigated steps
- reacts to state changes and re-render
- convert state names to labels
- accepts clicks and dispatches events to force a transition to previous steps using
fsm.go(state, true)