rivetkit-client-react
SKILL.md
RivetKit React Client
Use this skill when building React apps that connect to Rivet Actors with @rivetkit/react.
First Steps
- Install the React client (latest: 2.2.0)
npm install @rivetkit/react@2.2.0 - Create hooks with
createRivetKit()and connect withuseActor().
Error Handling Policy
- Prefer fail-fast behavior by default.
- Avoid
try/catchunless absolutely needed. - If a
catchis used, handle the error explicitly, at minimum by logging it.