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

Function getStateFromUpdate

code/redux/public/app.js:8236–8243  ·  view source on GitHub ↗
(update, instance, prevState, props)

Source from the content-addressed store, hash-verified

8234}
8235
8236function getStateFromUpdate(update, instance, prevState, props) {
8237 var partialState = update.partialState;
8238 if (typeof partialState === 'function') {
8239 return partialState.call(instance, prevState, props);
8240 } else {
8241 return partialState;
8242 }
8243}
8244
8245function processUpdateQueue(current, workInProgress, queue, instance, props, renderExpirationTime) {
8246 if (current !== null && current.updateQueue === queue) {

Callers 1

processUpdateQueueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected