Skip to content

Extensions: Developer Experience for Third Party Native Extensions

  
1

1910

3

1911

15

To do

29

Done

This project doesn’t have any columns or cards.

Menu

Extensions: Developer Experience for Third Party Native Extensions #6

  
Updated Nov 11, 2019
React Native has two primary interfaces for native extensions:

React Native has two primary interfaces for native extensions:

  1. View managers, which are effectively singletons in a React Native instance that implement lifecycle functionality for native components (i.e., create, remove, update props, etc.)
  2. Native modules, which are also singletons in a React Native instance that expose native methods to the JavaScript runtime.

We need to make sure there is an documented way to release implementations of these native extensions as standalone libraries, so the OSS community can easily create and share custom native extensions.

Another aspect of this project is ensuring that third-party native extensions are easily consumable from the perspective of a React Native developer. The React Native CLI has a command called link, which automates the process of updating your native solution to take a dependency on third-party native modules.

There is another open source tool called react-native-create-library, which has started templates for link-able, shareable libraries containing native extensions for React Native on iOS, Android, and the C# implementation for UWP.

Activity

    Loading activity

Archived cards

Loading archived cards…

You can’t perform that action at this time.