mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-28 23:44:19 +00:00
📔 Documentation update
This commit is contained in:
parent
592edc3719
commit
b7a7da8621
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { useCallback, useState } from "react"
|
||||||
/**
|
/**
|
||||||
* Hook which fetches data from the backend on the first render of a component.
|
* Hook which fetches data from the backend on the first render of a component.
|
||||||
*
|
*
|
||||||
* @param fetchData - The function to use when fetching data.
|
* @param fetchData - The function to use when fetching data, usually created by GlobalServer or GlobalUser.
|
||||||
* @param method - The HTTP method to use.
|
* @param method - The HTTP method to use.
|
||||||
* @param path - The HTTP path to fetch the data at.
|
* @param path - The HTTP path to fetch the data at.
|
||||||
* @param body - The body of the HTTP request (it will be JSONified before being sent).
|
* @param body - The body of the HTTP request (it will be JSONified before being sent).
|
||||||
|
|
Loading…
Reference in a new issue