function / @typed/react

asyncDataView

Derives values without losing Typed AsyncData causes or optimistic/refreshing states.

Package version
1.0.0-beta.13
Category
function

Import

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

Signatures

export declare function asyncDataView<A, E>(data: Data.AsyncData<A, E>, latest?: Option.Option<A>): AsyncDataView<A, E>;

Other public imports

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

Source