Installation
@use-funnel
is compatible with various routers. including:
- react-router-dom (opens in a new tab)
- next.js page router (opens in a new tab)
- @react-navigation/native (opens in a new tab)
- browser history (opens in a new tab)
Supported React Version
React | ^16.8 |
---|
Installation
Select the router you want to use and install the corresponding package with the following command:
npm install @use-funnel/react-router-dom --save
npm install @use-funnel/next --save
npm install @use-funnel/react-navigation-native --save
npm install @use-funnel/browser --save
If the router you need isn't listed or if you prefer to manage history directly, refer to Creating a Custom Router.