(inst: any, callback)
| 134 | }, |
| 135 | // $FlowFixMe[missing-local-annot] |
| 136 | enqueueForceUpdate(inst: any, callback) { |
| 137 | const internals: InternalInstance = getInstance(inst); |
| 138 | if (internals.queue === null) { |
| 139 | warnNoop(inst, 'forceUpdate'); |
| 140 | } else { |
| 141 | if (__DEV__) { |
| 142 | if (callback !== undefined && callback !== null) { |
| 143 | warnOnInvalidCallback(callback); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | }, |
| 148 | }; |
| 149 | |
| 150 | function applyDerivedStateFromProps( |
nothing calls this directly
no test coverage detected