MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / drawFrame

Method drawFrame

examples/04 Sortable/Stress Test/Container.js:66–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 drawFrame() {
67 const nextState = update(this.state, this.pendingUpdateFn);
68 this.setState(nextState);
69
70 this.pendingUpdateFn = null;
71 this.requestedFrame = null;
72 }
73
74 render() {
75 const { cardsByIndex } = this.state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected