GithubHelp home page GithubHelp logo

helton / learning-redux Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 947 KB

Getting Started with Redux + Building React Applications with Idiomatic Redux

License: MIT License

HTML 8.13% JavaScript 89.72% CSS 2.15%
todo redux react react-redux redux-logger redux-thunk redux-promise

learning-redux's Introduction

Getting Started with Redux +

Building React Applications with Idiomatic Redux

This TodoApp project was based on those excelent Egghead courses (made by Dan Abramov):

If you haven't watched them, what are you waiting for? Go check them out!

Usage

$ yarn install
$ yarn start

Notes for the curious developer

I added the redux and react-redux dependencies in the project but I'm not using them. The reason is that I implemented everything from scratch in order to understand what was happening under the hood.

Now I've a basic redux and react-redux implementation working!

The only problem I faced with this approach was that I'm not able to connect to the Redux Dev Tools anymore. I think it's because it's tightly coupled to the original Redux implementation. Maybe I'll come back and fix it. It was supposed to work if you pass this enhancer window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() to the createStore() method. For more information, take a look at: https://github.com/zalmoxisus/redux-devtools-extension#12-advanced-store-setup

If you intend to use the original redux and react-redux implementations, go to the index.js files under the lib folder and export the original functions/symbols of those libraries.

Yeah, the app is not pretty because I didn't expend the time styling it (I just wanted to learn Redux, so don't blame me).

If you want a better look version of this app (and with more features), take a look at my react-todo project.

License

License: MIT © Helton Carlos de Souza

Twitter Follow

learning-redux's People

Contributors

helton avatar

Stargazers

 avatar

Watchers

 avatar  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.