React Reference

React SDK API Overview

This section contains short descriptions of all the components and hooks available in the React SDK. Click on the name of the component or hook to see the full documentation.

Component or hookDescription
YagnaProviderThis component provides context for the Golem React SDK. It's required to wrap your app with this component if you want to use the SDK.
useYagnaThis hook provides information about the Yagna connection status.
useExecutorThis hook allows you to initialize and manage a task executor.
useTaskThis hook allows you to run a single task on the Golem Network
useInvoicesThis hook allows you to search through all invoices known to your Yagna node.
useHandleInvoiceThis hook allows you to handle invoices (currently only paying them is supported).

Was this helpful?