Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.07 KB

readme.md

File metadata and controls

64 lines (43 loc) · 2.07 KB

Ignite + Mobx + React Navigation Boilerplate

Forked from Ignite Appclon boilerplate

Basic MobX boilerplate for Ignite (by Infinite Red)

Quick Example

$ npm install -g ignite-cli
$ ignite new IgniteMobX -b ignite-matnoire-mobx
$ cd IgniteMobX
$ npm install (or yarn)
$ react-native run-ios (or run-android)

Why Ignite?

  • Easily spin up a new React Native app with best practices built-in
  • No runtime! This is a developer tool only, not a library you have to depend on
  • Works with iOS and Android out of the box
  • API-ready -- hook it up and start talking to your server
  • Standard-js compliant code
  • MobX state management

Why MobX?

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). The philosophy behind MobX is very simple:

Anything that can be derived from the application state, should be derived. Automatically.

Why MobX over Redux?

Less code than redux, shorter learning curve. IMHO MobX is a best approach for the most common projects. Redux is very powerfull, but when you start learning RN you must understand too many concepts before you can even start... and redux is not one of the smallest obstacles i met when i started.

⬇️ Install

First, make sure you're set up for React Native

then... Install ignite client

$ npm install -g ignite-cli

...finally create a new app using this boilerplate

$ ignite new AppclonMobX -b appclon-mobx

📋 Documentation 📋

Ignite 2 documentation? Go here

React Native's documentation? Go here

MobX documentation? Go here

React-Navigation documentation? Go here

Credits

Originally Written by Paolo Mosca