(fiber: Fiber)
| 836 | } |
| 837 | |
| 838 | function requestRetryLane(fiber: Fiber) { |
| 839 | // This is a fork of `requestUpdateLane` designed specifically for Suspense |
| 840 | // "retries" — a special update that attempts to flip a Suspense boundary |
| 841 | // from its placeholder state to its primary/resolved state. |
| 842 | |
| 843 | // Special cases |
| 844 | const mode = fiber.mode; |
| 845 | if (!disableLegacyMode && (mode & ConcurrentMode) === NoMode) { |
| 846 | return (SyncLane: Lane); |
| 847 | } |
| 848 | |
| 849 | return claimNextRetryLane(); |
| 850 | } |
| 851 | |
| 852 | export function requestDeferredLane(): Lane { |
| 853 | if (workInProgressDeferredLane === NoLane) { |
no test coverage detected