MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/tr727k/react_18_released/i2mchwz
r/programming • u/Nysor • Mar 29 '22
183 comments sorted by
View all comments
Show parent comments
10
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?
createRoot
getElementById
react-dom
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.
3
Hard to say without a repro. The best way to get this resolved is to open an issue on the DT repo.
10
u/Zaphoidx Mar 29 '22
Yeah I've been following your PR!
It looks like the types for
createRootdon't seem to support the return types forgetElementById, so not sure if there needs to be more type updates inreact-domto be done before it becomes fully usable?