Invoke Any Native API Directly From Pure Javascript in React Native — Medium

  • Overall, the React Native team did a great job wrapping the basic native components you need.
  • Since the entire specification is now serializable, we can send it over the React Native bridge to the native side.
  • Because adding native code to an already existing native wrapper is an ugly task.
  • Using the technique introduced in this library, you can access any native API directly from Javascript without wrapping it first.
  • Assuming the native return value is serializable, we’ll send it back over the React Native bridge and consume it in Javascript.

Read the full article, click here.


@koltal: “Invoke Any Native API Directly From Pure Javascript in #ReactNative @WixEng @reactnative”


The native iOS SDK has over 15,000 API’s. React Native provides access to a tiny fraction. Wouldn’t it be fun to access all of them from…


Invoke Any Native API Directly From Pure Javascript in React Native — Medium