(container)
| 17747 | } |
| 17748 | |
| 17749 | function getReactRootElementInContainer(container) { |
| 17750 | if (!container) { |
| 17751 | return null; |
| 17752 | } |
| 17753 | |
| 17754 | if (container.nodeType === DOCUMENT_NODE) { |
| 17755 | return container.documentElement; |
| 17756 | } else { |
| 17757 | return container.firstChild; |
| 17758 | } |
| 17759 | } |
| 17760 | |
| 17761 | function shouldHydrateDueToLegacyHeuristic(container) { |
| 17762 | var rootElement = getReactRootElementInContainer(container); |
no outgoing calls
no test coverage detected