( parentSuspense: SuspenseBoundary | null, transition: TransitionHooks | null, )
| 2499 | } |
| 2500 | |
| 2501 | export function needTransition( |
| 2502 | parentSuspense: SuspenseBoundary | null, |
| 2503 | transition: TransitionHooks | null, |
| 2504 | ): boolean | null { |
| 2505 | return ( |
| 2506 | (!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) && |
| 2507 | transition && |
| 2508 | !transition.persisted |
| 2509 | ) |
| 2510 | } |
| 2511 | |
| 2512 | /** |
| 2513 | * #1156 |
no outgoing calls
no test coverage detected