(providerFiber, context, nextValue)
| 13046 | } |
| 13047 | } |
| 13048 | function pushProvider(providerFiber, context, nextValue) { |
| 13049 | { |
| 13050 | push(valueCursor, context._currentValue, providerFiber); |
| 13051 | context._currentValue = nextValue; |
| 13052 | |
| 13053 | { |
| 13054 | if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { |
| 13055 | error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); |
| 13056 | } |
| 13057 | |
| 13058 | context._currentRenderer = rendererSigil; |
| 13059 | } |
| 13060 | } |
| 13061 | } |
| 13062 | function popProvider(context, providerFiber) { |
| 13063 | var currentValue = valueCursor.current; |
| 13064 | pop(valueCursor, providerFiber); |
no test coverage detected
searching dependent graphs…