Two kinds of extensions as described in https://youtu.be/hNwQPJy-XZY:
The trick is that for each primitive there would be JavaScript files such as:
I was not aware of this support for either of the two kinds of extensions until very recently (unfortunately I lost track of which discussion I found https://youtu.be/hNwQPJy-XZY in). I hope we can get this more formally documented in the near future.
P.S. Here are some examples of new "primitive" components (first 2 by myself):
This description was also updated to make it clear that I meant there are two types of extensions: adding new "primitive" components and supporting additional platforms.
Two kinds of extensions as described in https://youtu.be/hNwQPJy-XZY:
The trick is that for each primitive there would be JavaScript files such as:
index.js- for web platform (usingreact-native-web)index.android.js- for Android (usingreact-native)index.ios.js- for iOS (usingreact-native)I was not aware of this support for either of the two kinds of extensions until very recently (unfortunately I lost track of which discussion I found https://youtu.be/hNwQPJy-XZY in). I hope we can get this more formally documented in the near future.
P.S. Here are some examples of new "primitive" components (first 2 by myself):
react-primitives-inputreact-primitives-scrollviewreact-primitives-svgThis description was also updated to make it clear that I meant there are two types of extensions: adding new "primitive" components and supporting additional platforms.