GithubHelp home page GithubHelp logo

coffeeshopworkshopmobx's Introduction

This project was bootstrapped with Create React Native App.

Below you'll find information about performing common tasks. The most recent version of this guide is available here.

How to start and use this project

Checkout this project to your React Native Workspace

git clone https://github.com/paomosca/CoffeeShopWorkshopMobX

Install all dependencies

cd CoffeeShopWorkshopMobX
yarn
# or
npm install

Available Scripts

If Yarn was installed when the project was initialized, then dependencies will have been installed via Yarn, and you should probably use it to run these commands as well. Unlike dependency installation, command running syntax is identical for Yarn and NPM at the time of this writing.

npm start

Runs your app in development mode.

Open it in the Expo app on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.

Sometimes you may need to reset or clear the React Native packager's cache. To do so, you can pass the --reset-cache flag to the start script:

npm start -- --reset-cache
# or
yarn start -- --reset-cache

npm run ios

Like npm start, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed.

Errors during install process?

FAIL [RNDebugger] The `rndebugger://` URI scheme seems not registered, maybe you haven't install the app?

I'm using react native debugger feel free to download it or remove "postinstall": "rndebugger-open --expo" from package.json

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

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?

Here you can find the presentation's slides.

Less code than redux, shorter learning curve. IMHO MobX is a best approach for the most common react-native 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.

❤️ Special Thanks ❤️

Why this Workshop? Redux or MobX: An attempt to dissolve the Confusion

Who inspired me? - Write React-Native apps in 2017 style with MobX

Who created Ignite? - Learn More About Infinite Red

📋 Documentation 📋

Ignite 2 documentation? Go here

React Native's documentation? Go here

MobX documentation? Go here

React-Navigation documentation? Go here

Credits

Written by Paolo Mosca

coffeeshopworkshopmobx's People

Contributors

paomosca avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ktpm489

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.