Skip to content

josh-deprogram/jsi-module-example

 
 

Repository files navigation

jsi-module-example

Example of building JSI module from scratch with Fresh react-native project

This module is a very simple minimal example of how JSI modules can be built with minimal effort. I expect that most of the code for any new module can be mostly copied from this source.

This work was inspired by

  1. (react-native-multithreading)[https://github.com/mrousavy/react-native-multithreading]. This is quite a nice example. However, the redundant complexity comes from creating new threads what is not needed in this basic example.

  2. (react-native-reanimated). Similarly, this library is doing a lot of things.

I skipped the building and publishing process which is also not trivial and will be important while releasing the library to npm (as .so file)

About

Example of building JSI module from scratch with Fresh react native project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 44.3%
  • C++ 35.0%
  • Objective-C 5.5%
  • Java 5.2%
  • JavaScript 3.0%
  • C 2.7%
  • Other 4.3%