maman / multiplatform

Single codebase, multiple platform target.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiplatform

This repo contains universal react component that can renders to both web & native.

Uses babel to perform wizardry. See babel-multiplatform.js for details.

Running examples

multiplatform$ yarn
multiplatform$ npx react-native-cli run-android # Open emulator & build development APK
multiplatform$ npx react-native-cli run-ios # Open emulator & install iOS development app to iOS emulator
multiplatform$ yarn start:rn # Run react-native packager
multiplatform$ yarn start:web # Run local development server

When the app opens on emulator & opened in the browser, make some changes to App.js and see the results live.

About

Single codebase, multiple platform target.


Languages

Language:Objective-C 39.0%Language:JavaScript 30.6%Language:Starlark 15.3%Language:Java 12.6%Language:HTML 2.6%