Coder Social home page Coder Social logo

ptzagk / reactstatemuseum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gantman/reactstatemuseum

0.0 0.0 0.0 1.55 MB

A whirlwind tour of React state management systems by example

License: MIT License

HTML 13.51% JavaScript 38.00% Python 11.90% Java 9.74% Objective-C 26.85%

reactstatemuseum's Introduction

The React State Museum


One Packing List App Written in:

Technology React React Native
setState
React 16.x Context
Redux
MobX
unstated
MobX-State-Tree
GraphQL Apollo + Amazon AppSync
setState + react-automata
Freactal
ReduxX
pure-store
ReactObservableStore
react-easy-state
rematch
unistore
Microstates soon

Examples to help portray the how, why, which, pros, and cons of various state management systems in the React ecosystem.

Every app is meant to be small, simple, and the same as each other. The only difference should be the state management decisions of each. The repeated React and ReactNative app is a Packing List, with the name based on the state technology.

Web Native
example gif of app example gif of app

What are the differences?

Look at the code for yourself, OR check this blog post on the findings.

https://hackernoon.com/the-react-state-museum-a278c726315

To Run Web

  • Click the codesandbox link in the list above
  • OR Clone this repo, then cd into each folder and follow the directions in readme

To Run Native

  • Clone this repo, then cd into each folder and follow the directions in readme

reactstatemuseum's People

Contributors

gantman avatar juandc avatar gunn avatar iurii-kyrylenko avatar vadistic avatar solkimicreb avatar rusinovanton avatar cowboyd avatar jlengstorf avatar taviroquai avatar msteckyefantis avatar robdel12 avatar stereobooster 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.