property UseFetchStateResult.reload

Loads the key's data again, and replaces the data loaded with it, as the live pages do on useOnReconnect. Until it arrives, the data shown stays, and so it does if the load fails. It does nothing until loaded.

Type

() => void

Usage

import { type UseFetchStateResult } from "src/hooks/shared/useFetchState.ts";