Runner React Hook API reference
The Runner React Hook package wraps the functionality of the Runner library into an easy to use React Hook. It greatly simplifies the process of building a runner for Tripetto using React. All of Tripetto's stock runners are built using this hook.
✨ Installation
- npm
- Yarn
- pnpm
npm install @tripetto/runner-react-hook
yarn add @tripetto/runner-react-hook
pnpm add @tripetto/runner-react-hook
caution
This package needs the following packages: @tripetto/runner, react, and tslib. You have to install those peer dependencies yourself.
Typescript support
This package contains type declarations and supports TypeScript out-of-the-box.