(returnFiber, current, portal, lanes)
| 6360 | return current; |
| 6361 | } |
| 6362 | function updatePortal(returnFiber, current, portal, lanes) { |
| 6363 | if ( |
| 6364 | null === current || |
| 6365 | 4 !== current.tag || |
| 6366 | current.stateNode.containerInfo !== portal.containerInfo || |
| 6367 | current.stateNode.implementation !== portal.implementation |
| 6368 | ) |
| 6369 | return ( |
| 6370 | (current = createFiberFromPortal(portal, returnFiber.mode, lanes)), |
| 6371 | (current.return = returnFiber), |
| 6372 | current |
| 6373 | ); |
| 6374 | current = useFiber(current, portal.children || []); |
| 6375 | current.return = returnFiber; |
| 6376 | return current; |
| 6377 | } |
| 6378 | function updateFragment(returnFiber, current, fragment, lanes, key) { |
| 6379 | if (null === current || 7 !== current.tag) |
| 6380 | return ( |
no test coverage detected
searching dependent graphs…