(providerFiber, context, nextValue)
| 14159 | } |
| 14160 | } |
| 14161 | function pushProvider(providerFiber, context, nextValue) { |
| 14162 | { |
| 14163 | push(valueCursor, context._currentValue, providerFiber); |
| 14164 | context._currentValue = nextValue; |
| 14165 | |
| 14166 | { |
| 14167 | if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { |
| 14168 | error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); |
| 14169 | } |
| 14170 | |
| 14171 | context._currentRenderer = rendererSigil; |
| 14172 | } |
| 14173 | } |
| 14174 | } |
| 14175 | function popProvider(context, providerFiber) { |
| 14176 | var currentValue = valueCursor.current; |
| 14177 | pop(valueCursor, providerFiber); |
no test coverage detected
searching dependent graphs…