alpersonalwebsite / react-mobx-redux

Comparing MobX and Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MobX and Redux

Greenkeeper badge CircleCI License: MIT

This is an easy, basic and raw (no styles attached) example of comparing the implementation of MobX and redux.

Installation

npm install

Running the dev server

npm start

Handling errors

It's extremely important to manage errors properly to avoid a broken application. Without any kind of error handling, for example, if we hit a non-existent endpoint like: https://node-express-postgre.herokuapp.com/user we will see a screen like the following.

Unhandled Rejection

Notes:

I'm avoiding the use of decorators. Instead, we will use the decorate utility. More information: https://mobx.js.org/best/decorators.html

About

Comparing MobX and Redux

License:MIT License


Languages

Language:JavaScript 77.3%Language:HTML 16.5%Language:CSS 6.1%