MCPcopy Create free account
hub / github.com/async-library/react-async / Async

Function Async

packages/react-async/src/useAsync.spec.js:30–30  ·  view source on GitHub ↗
({ children = () => null, ...props })

Source from the content-addressed store, hash-verified

28afterEach(cleanup)
29
30const Async = ({ children = () => null, ...props }) => children(useAsync(props))
31const Fetch = ({ children = () => null, input, init, options }) =>
32 children(useFetch(input, init, options))
33

Callers

nothing calls this directly

Calls 1

useAsyncFunction · 0.85

Tested by

no test coverage detected