MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / getStateFromUpdate

Function getStateFromUpdate

code/event-handlers/public/app.js:7315–7322  ·  view source on GitHub ↗
(update, instance, prevState, props)

Source from the content-addressed store, hash-verified

7313}
7314
7315function getStateFromUpdate(update, instance, prevState, props) {
7316 var partialState = update.partialState;
7317 if (typeof partialState === 'function') {
7318 return partialState.call(instance, prevState, props);
7319 } else {
7320 return partialState;
7321 }
7322}
7323
7324function processUpdateQueue(current, workInProgress, queue, instance, props, renderExpirationTime) {
7325 if (current !== null && current.updateQueue === queue) {

Callers 1

processUpdateQueueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected