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

Function useAtomRefPropValue

packages/atom/solid/src/Hooks.ts:358–359  ·  view source on GitHub ↗
(ref: () => AtomRef.AtomRef<A>, prop: K)

Source from the content-addressed store, hash-verified

356 * @since 4.0.0
357 */
358export const useAtomRefPropValue = <A, K extends keyof A>(ref: () => AtomRef.AtomRef<A>, prop: K): Accessor<A[K]> =>
359 useAtomRef(useAtomRefProp(ref, prop))

Callers 1

index.test.tsxFile · 0.50

Calls 2

useAtomRefFunction · 0.70
useAtomRefPropFunction · 0.70

Tested by

no test coverage detected