API
Plugins
plugin-devtools

@stackflow/plugin-devtools

This plugin is used as a data storage layer for the Stackflow Devtools.

Installation

npm install @stackflow/plugin-devtools

Usage

To utilize the plugin, integrate it within your Stackflow setup as shown:

stackflow.ts
import { stackflow } from "@stackflow/react";
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
 
const { Stack, useFlow } = stackflow({
  activities: {
    // ...
  },
  plugins: [
    devtoolsPlugin(),
    // ...
  ],
});