* Helper to determine whether the given nodes are "disjoint". * * The i18n hydration process walks through the DOM and i18n nodes * at the same time. It expects the sibling DOM node of the previous * i18n node to be the first node of the next i18n node. * * In cases of content projection, this
(prevNode: Node | null, nextNode: Node)
| 241 | * i18n node, we will be able to find the correct place to start. |
| 242 | */ |
| 243 | function isDisjointNode(prevNode: Node | null, nextNode: Node) { |
| 244 | return prevNode && prevNode.nextSibling !== nextNode; |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * Process the given i18n node for serialization. |
no outgoing calls
no test coverage detected
searching dependent graphs…