(App: () => React$Node)
| 58 | } |
| 59 | |
| 60 | function mountApp(App: () => React$Node) { |
| 61 | const container = createContainer(); |
| 62 | |
| 63 | const root = createRoot(container); |
| 64 | root.render(createElement(App)); |
| 65 | |
| 66 | unmountFunctions.push(() => root.unmount()); |
| 67 | } |
| 68 | |
| 69 | // $FlowFixMe[missing-local-annot] |
| 70 | function mountStrictApp(App) { |
no test coverage detected