Skip to content

Ignite boilerplate with Mobx + React Navigation

Notifications You must be signed in to change notification settings

matiere-noire/react-native-ignite-mobx

 
 

Repository files navigation

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

About

Ignite boilerplate with Mobx + React Navigation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.5%
  • HTML 30.5%