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
andreact-router-native
)
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.
- 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 withmakeComponent
.