r/programming • • Mar 29 '22

React 18 released!

https://reactjs.org/blog/2022/03/29/react-v18.html
749 Upvotes

183 comments sorted by

View all comments

Show parent comments

10

u/Zaphoidx Mar 29 '22

Yeah I've been following your PR!

It looks like the types for createRoot don't seem to support the return types for getElementById, so not sure if there needs to be more type updates in react-dom to be done before it becomes fully usable?

3

u/_eps1lon Mar 29 '22

Hard to say without a repro. The best way to get this resolved is to open an issue on the DT repo.