Module / v1.0.0-beta.13

@typed/react/AsyncData

4 unique exports available through this public import path, including their members and aliases.

import * as AsyncData from "@typed/react/AsyncData";

function

  • AsyncData

    function

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

  • asyncDataView

    function

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

interface

  • AsyncDataProps

    interface

    Public interface exposed as AsyncDataProps from @typed/react/AsyncData.

  • AsyncDataView

    interface

    A framework-independent snapshot; the hook provides refresh and cancellation separately.