(value, config)
| 15619 | } |
| 15620 | |
| 15621 | function updateDeferredValue(value, config) { |
| 15622 | var _updateState = updateState(), |
| 15623 | prevValue = _updateState[0], |
| 15624 | setValue = _updateState[1]; |
| 15625 | |
| 15626 | updateEffect(function () { |
| 15627 | var previousConfig = ReactCurrentBatchConfig$1.suspense; |
| 15628 | ReactCurrentBatchConfig$1.suspense = config === undefined ? null : config; |
| 15629 | |
| 15630 | try { |
| 15631 | setValue(value); |
| 15632 | } finally { |
| 15633 | ReactCurrentBatchConfig$1.suspense = previousConfig; |
| 15634 | } |
| 15635 | }, [value, config]); |
| 15636 | return prevValue; |
| 15637 | } |
| 15638 | |
| 15639 | function rerenderDeferredValue(value, config) { |
| 15640 | var _rerenderState = rerenderState(), |
no test coverage detected