Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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