@stackflow/react
v1.12.0
Published
An integration layer for using Stackflow in React applications. Returns a `<Stack />` component for rendering the application and a `useFlow` hook for navigation.
Keywords
Readme
@stackflow/react
An integration layer for using Stackflow in React applications. Returns a <Stack /> component for rendering the application and a useFlow hook for navigation.
Usage
import { stackflow } from '@stackflow/react'
const { Stack, useFlow } = stackflow({
activities: {
// ...
},
plugins: [
// ...
],
})
ReactDOM.render(<Stack />, ...)