MCPcopy
hub / github.com/pmndrs/react-spring / Test

Function Test

packages/core/src/SpringContext.test.tsx:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 const context: ISpringContext = {}
23 const onProps = vi.fn()
24 const Test = () => {
25 useSpring({ onProps, x: 0 })
26 return null
27 }
28
29 const getRoot = () => (
30 <SpringContextProvider {...context}>

Callers

nothing calls this directly

Calls 1

useSpringFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…