Skip to content

This starter kit let's you run expo and ejected app together. Which means you can add native modules to your code and still be able to take advantage of expo's development environment

Notifications You must be signed in to change notification settings

jmatsushita/cycle-expo-native-kit

 
 

Repository files navigation

Cycle expo native starter kit

A starter kit with:

  • Cycle.js for the fractal component architecture. Following manyverse in how react-native is setup.
  • Expo for the development tooling, and React Native and React Native Web to Write Once, Render Everywhere.
  • Expo Native Starter Kit to allow developing ejected apps keeping the non-ejected tooling. Note that this is a fairly new project.
  • Basic universal routing with react-router (react-router-dom and react-router-native)

Getting Started

npm i
npm run web  # start the web dev build
npm run ios  # start the ios simulator

This is just a light wrapper template for existing technologies. You'll need to refer to the documentation for the Expo Native Starter Kit. A few commands you're likely to need:

npm run init # configure your app name (without dashes!) and slug. This will only work once...
npm run ios-native # switch to ejected mode.
npm run ios-expo # switch back to expo mode.

Notes

  • I haven't tested this in native mode yet.
  • Note that this doesn't use cycle-react-native as we don't make use of utility functions.
  • The top level app contains the routing (src/index.tsx), and integrate cycle.js components as React components with makeComponent.

About

This starter kit let's you run expo and ejected app together. Which means you can add native modules to your code and still be able to take advantage of expo's development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 26.5%
  • TypeScript 26.5%
  • JavaScript 23.8%
  • Objective-C 13.1%
  • Ruby 10.1%