MCPcopy Index your code
hub / github.com/pmndrs/react-spring / getRoot

Function getRoot

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

Source from the content-addressed store, hash-verified

27 }
28
29 const getRoot = () => (
30 <SpringContextProvider {...context}>
31 <Test />
32 </SpringContextProvider>
33 )
34
35 const expectUpdates = (updates: any[]) => {
36 onProps.mock.calls.forEach((args, i) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…