Giter VIP home page Giter VIP logo

worlds-smallest-redux-react-app's Introduction

This project was bootstrapped with Create React App.

World's smallest Redux React app

Background

Do you have learning Redux on your "Todo-list", and have had that for some time now? You have the feeling that you should be learning it but you never get around doing it? The Redux docs are pretty heavy and nothing you casually read through so it's a barrier for getting started.

I have set up a minimal React/Redux setup that you can run and experiment with today. It's a fun and easy starting point for learning Redux.

Installation and Running

$ git clone https://github.com/jakoblind/worlds-smallest-redux-react-app.git
$ cd worlds-smallest-redux-react-app
$ npm install
$ npm start

How to read the code

There are only two files that's important: src/App.js and src/index.js.

  • src/App.js contains the React components and the Redux action (yes, it's only one!).
  • src/index.js contains the initial state, the reducer, the store.

Need more help understanding the code? Contact me, I am happy to help!

worlds-smallest-redux-react-app's People

Contributors

jakoblind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

prashantsharma

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.