()
| 2 | const {createRoot} = ReactDOM; |
| 3 | |
| 4 | function App() { |
| 5 | const [isMounted, setIsMounted] = useState(false); |
| 6 | useLayoutEffect(() => { |
| 7 | setIsMounted(true); |
| 8 | }, []); |
| 9 | return createElement('div', null, `isMounted? ${isMounted}`); |
| 10 | } |
| 11 | |
| 12 | const container = document.getElementById('container'); |
| 13 | const root = createRoot(container); |
nothing calls this directly
no test coverage detected