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

Function set

packages/core/src/hooks/useSpring.test.tsx:426–431  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

424
425 const context: TestContext = {
426 async set(values) {
427 Object.assign(this, values)
428 if (prevElem) {
429 await renderWithContext(prevElem)
430 }
431 },
432 }
433 // Ensure `context.set` is ignored.
434 Object.defineProperty(context, 'set', {

Callers 10

onClickFunction · 0.85
AppFunction · 0.85
ListFunction · 0.85
handlerFunction · 0.85
MasonryFunction · 0.85
AppFunction · 0.85
AppFunction · 0.85
AppFunction · 0.85
AppFunction · 0.85
onClickFunction · 0.85

Calls 1

renderWithContextFunction · 0.85

Tested by

no test coverage detected