function / @typed/react

AsyncData

Keeps the current value visible during refresh and supplies status to render functions.

Package version
1.0.0-beta.13
Category
function

Import

import { AsyncData } from "@typed/react";

Signatures

export declare function AsyncData<A, E>({ data, children, failure, loading, noData, }: AsyncDataProps<A, E>): ReactNode;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source