(container)
| 16729 | } |
| 16730 | |
| 16731 | function getReactRootElementInContainer(container) { |
| 16732 | if (!container) { |
| 16733 | return null; |
| 16734 | } |
| 16735 | |
| 16736 | if (container.nodeType === DOCUMENT_NODE) { |
| 16737 | return container.documentElement; |
| 16738 | } else { |
| 16739 | return container.firstChild; |
| 16740 | } |
| 16741 | } |
| 16742 | |
| 16743 | function shouldHydrateDueToLegacyHeuristic(container) { |
| 16744 | var rootElement = getReactRootElementInContainer(container); |
no outgoing calls
no test coverage detected