MCPcopy Create free account
hub / github.com/effector/effector / FetchingStatus

Function FetchingStatus

examples/react-ssr/src/app.tsx:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73const Total = () => <small>Total: {useStore(friendsTotal)}</small>
74
75const FetchingStatus = () => {
76 const pending = useStore(fetchUser.pending)
77
78 return (
79 <p>
80 <small>Status: {pending ? 'fetching...' : 'ready'}</small>
81 </p>
82 )
83}
84const UserList = () => {
85 const selectUser = useEvent(selectUserEvent)
86

Callers

nothing calls this directly

Calls 1

useStoreFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…