React SDK
React SDK: Introduction
The React SDK allows you to display the status of your Jobs and Runs in your React app.
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. |
Was this page helpful?