(container)
| 139 | } |
| 140 | |
| 141 | function createLegacyRoot(container) { |
| 142 | return { |
| 143 | hydrate(element) { |
| 144 | ReactDOM.hydrate(element, container) |
| 145 | }, |
| 146 | render(element) { |
| 147 | ReactDOM.render(element, container) |
| 148 | }, |
| 149 | unmount() { |
| 150 | ReactDOM.unmountComponentAtNode(container) |
| 151 | }, |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | function renderRoot( |
| 156 | ui, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…