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 hook | Description |
---|---|
YagnaProvider | This 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. |
useYagna | This hook provides information about the Yagna connection status. |
useExecutor | This hook allows you to initialize and manage a task executor. |
useTask | This hook allows you to run a single task on the Golem Network. |
useAllocation | This hook allows you manually create an allocation or load an existing one by id. |
useInvoices | This hook allows you to search through all invoices known to your Yagna node. |
useHandleInvoice | This hook allows you to handle invoices (currently only paying them is supported). |
Was this helpful?