@stackflow/plugin-renderer-basic
This plugin is used to render the activity that should be rendered by default using the stack state.
Installation
npm install @stackflow/plugin-renderer-basic
Usage
stackflow.ts
import { stackflow } from "@stackflow/react";
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic";
const { Stack, useFlow } = stackflow({
activities: {
// ...
},
plugins: [basicRendererPlugin()],
});