top | item 37036136

(no title)

throwaway60707 | 2 years ago

I don't get why nobody tries to make something like React Native that would provide interface to the native components.

discuss

order

gorbypark|2 years ago

That is React Native isn’t it? A lot of people end up making custom components (using pure JS), but it’s completely possible to wrap native components and use them. The downside is someone needs to make the native component wrapper as React Native doesn’t really provide much in terms of that out of the box besides maybe a button component.

Expo has a new system that’s in beta that should make doing this much, much simpler (check out expo-modules).

throwaway60707|2 years ago

Well yeah - you'd need to write that native code wrapper, which kind of defeats some of the purpose of React Native (not having to write native code).