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

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

/@stackflow/react/

    Package Sidebar

    Install

    npm i @stackflow/react

    Weekly Downloads

    3,782

    Version

    1.5.2

    License

    MIT

    Unpacked Size

    257 kB

    Total Files

    312

    Last publish

    Collaborators

    • tonyfromundefined
    • orionmiz
    • irrationnelle
    • environmentse7