@rxova/journey-devtools-bridge
v1.0.0-rc.2
Published
Bridge API to connect Journey machines to browser devtools.
Readme
@rxova/journey-devtools-bridge
Connect Journey machines to Chrome DevTools.
Install
npm i @rxova/journey-devtools-bridgeUsage
import { createJourneyMachine } from "@rxova/journey-core";
import { attachJourneyDevtools } from "@rxova/journey-devtools-bridge";
const machine = createJourneyMachine(definition);
machine.startJourney();
const detach = attachJourneyDevtools(machine, { label: "Checkout" });What It Does
- Streams snapshots and lifecycle events to the Journey DevTools panel in Chrome
- Supports remote commands: navigate steps, reset, send events, inspect execution paths
- Enabled by default in development, disabled in production unless explicitly opted in
Documentation
License
MIT
