Cross-platform DOM Node API support with React Native 0.82 #462
yaminyassin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
React Native 0.82 introduces native DOM Node APIs on host elements. This is a significant milestone for React Strict DOM, as DOM traversal APIs are explicitly called out in the design goals as a key enabler for the project's approach.
I'd like to discuss how RSD can take advantage of these new native capabilities.
RSD currently polyfills several of these APIs in
useStrictDOMElement.jsby wrapping native nodes in proxy objects (e.g.,getBoundingClientRectwith viewport scaling,nodeName, layout length properties). With RN 0.82, some of this work may now be handled natively.Beta Was this translation helpful? Give feedback.
All reactions