-
Big fan of the approach taken by this library, and generally with the React DOM for Native RFC. I gave a talk about my hopes for the future of RN dedicated to the RFC: https://www.youtube.com/watch?v=dKItY_2wFH0 That said, I am curious about plans for implementing good performance. It appears that, on native, In my experience, the React Native's Is it possible to implement themes and other useful features on the native side, without relying on React context in every component? Or is this more of a secondary concern for when the library is feature complete? I understand it might not be on the roadmap now, but I'm curious if this might change in the future or not. As it stands, the use of context is similar to what most RN libraries have to do now. But it would be great to have these primitives available to design system authors on the native side. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Yes eventually.
Exactly. Community adoption and advocacy will help us to prioritize this direction internally, and get more investment in native implementations of the core API based on web standards. Everything from W3C compliant CSS features and Events, through Elements and Web APIs. React Native has been moving quite slowly as most attention is on getting Fabric out. This library is needed to prove out the value of the target API I proposed in the RFC, and allow our internal teams to actually build stuff in the meantime. As you mentioned, lots of the core components in RN are already quite inefficient, so we'd like to build out a completely fresh set of native primitives one day that model these web primitives and implement the correct W3C semantics and props. Certain features, like PointerEvent support and the traversal APIs, are already in native and could be reused in some form on these new, faster primitives. I'm hopeful that this project will encourage the community to kick-start the effort of building new core primitives over in React Native, so that our internal teams can see the wider interest, and have an easier time prioritizing internal resources. |
Beta Was this translation helpful? Give feedback.
Yes eventually.
Exactly. Community adoption and advocacy will help us to prioritize this direction internally, and get more investment in native implementations of the core API based on web standards. Everything from W3C compliant CSS features and Events, through Elements and Web APIs.
React Native has been moving quite slowly as most attention is on getting Fabric out. This library is needed to prove out the value of the target API I proposed in the RFC, and allow our inte…