React SDK
React SDK: Introduction
The React SDK allows you to display the status of your Jobs and Runs in your React app.
These are the docs for Trigger.dev v2 which will be deprecated on January 31st, 2025. You probably want the v3 docs.
Name | Description |
---|---|
TriggerProvider | The TriggerProvider component allows any hooks lower in the React hierarchy to connect to the Trigger.dev API. |
useEventDetails() | The useEventDetails() React hook will show the live status of an event that was sent using sendEvent() . |
useEventRunDetails() | The useEventRunDetails() React hook will show the live status of the first run triggered by sendEvent() . |
useRunDetails() | The useRunDetails() React hook will show the live status of run. |