( hydrationInfo: DehydratedView, index: number, node: RNode | null, )
| 393 | } |
| 394 | |
| 395 | export function setSegmentHead( |
| 396 | hydrationInfo: DehydratedView, |
| 397 | index: number, |
| 398 | node: RNode | null, |
| 399 | ): void { |
| 400 | hydrationInfo.segmentHeads ??= {}; |
| 401 | hydrationInfo.segmentHeads[index] = node; |
| 402 | } |
| 403 | |
| 404 | export function getSegmentHead(hydrationInfo: DehydratedView, index: number): RNode | null { |
| 405 | return hydrationInfo.segmentHeads?.[index] ?? null; |
no outgoing calls
no test coverage detected
searching dependent graphs…