Giter Site home page Giter Site logo

books-cataloging's Introduction

React & Mobx - minimal setup

This is a minimal setup for applications, that would like to utilize react with a fast, reliable, and scalable solution for state management.

Getting started

As usual, run:

  1. npm i
  2. npm start

And enjoy coding.

What is part of this repo?

This repo comes with a simple counter, that gets incremented after clicking on it. It demonstrates how react works with mobx together, and sets you up for fast development of your app.

Decorators

This project uses decorators that are an experimental feature. Decorators are officially supported by Mobx and a default way to go. They make your code simplier by isolating abstraction with for example boxing your primitives.

There are also starters that prevents developers from using decorators like Create react app.

I don't fancy this kind of starters because I don't need another parents to set me constraints on what I can use.

Do you?

Why not redux?

I've worked 3 years with redux as for now, and I prefer Mobx over redux for sake of simplicity. Working with redux I appointed multiple problems coming from its architecture decisions, and there were no good solutions for them.

Mobx has a lower learning curve, there is less boilerplate and it doesn't require changing the architecture of your application.

Contribute

Feel free to propose your changes in the Pull Requests. I'm usually very responsive.

books-cataloging's People

Contributors

oskarkaminski avatar

Watchers

 avatar

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.