@stackflow/react
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

@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 />, ...)

Readme

Keywords

none

Package Sidebar

Install

npm i @stackflow/react

Weekly Downloads

2,623

Version

1.4.1

License

MIT

Unpacked Size

225 kB

Total Files

287

Last publish

Collaborators

  • tonyfromundefined
  • orionmiz
  • irrationnelle