I’m going to make a React Native library for another React Native project. I used react-native-builder-bob
to make a bare React Native project by using the following command:
npx create-react-native-library@latest MyGameLibrary
It shows me the following list of types:
❯ JavaScript library - supports Expo Go and Web
Native module - bridge for native APIs to JS
Native view - bridge for native views to JS
Turbo module with backward compat - supports new arch (experimental)
Turbo module - requires new arch (experimental)
Fabric view with backward compat - supports new arch (experimental)
Fabric view - requires new arch (experimental)
What are The Native module
, Turbo module
or Fabric view
? I want to make a React Native library for my company’s project and use some game engines for some simple 2D board games, but I don’t know which one of those options is a good choice for this project.