MCPcopy Create free account
hub / github.com/Effect-TS/effect / useAtomRefPropValue

Function useAtomRefPropValue

packages/atom/react/src/Hooks.ts:486–487  ·  view source on GitHub ↗
(ref: AtomRef.AtomRef<A>, prop: K)

Source from the content-addressed store, hash-verified

484 * @since 4.0.0
485 */
486export const useAtomRefPropValue = <A, K extends keyof A>(ref: AtomRef.AtomRef<A>, prop: K): A[K] =>
487 useAtomRef(useAtomRefProp(ref, prop))

Callers

nothing calls this directly

Calls 2

useAtomRefFunction · 0.70
useAtomRefPropFunction · 0.70

Tested by

no test coverage detected