LinuxCommandLibrary

ern

React Native integration platform for native apps

TLDR

Create new React Native project

$ ern create-miniapp [app-name]
copy
Run miniapp
$ ern run-android
copy
Generate API code
$ ern generate api [api-name]
copy
List containers
$ ern cauldron list containers
copy
Add dependency
$ ern add [dependency]
copy

SYNOPSIS

ern command [options]

DESCRIPTION

ern (Electrode React Native) is a platform for integrating React Native into existing native applications. It provides tools for building, managing, and deploying React Native "miniapps" within native mobile apps.
The platform includes a Cauldron for version management, Container generation for bundling miniapps with native dependencies, and APIs for communication between React Native and native code.
ERN enables incremental React Native adoption in existing mobile applications.

PARAMETERS

COMMAND

ERN operation to perform.
create-miniapp NAME
Create new miniapp.
run-android
Run on Android.
run-ios
Run on iOS.
generate api NAME
Generate API module.
cauldron COMMAND
Manage cauldron (version registry).
--help
Display help information.

CAVEATS

Requires native development setup. Complex architecture learning curve. Integrates with existing apps differently than standalone RN.

HISTORY

Electrode React Native was developed by Walmart Labs to enable their gradual adoption of React Native in their existing mobile applications, addressing enterprise integration challenges.

SEE ALSO

react-native(1), npm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community