Git Product home page Git Product logo

aprende-redux's Introduction

aprende-redux

aprende-redux 🔄

Code for my Redux Workshop ⚡️

Standard - JavaScript Style Guide

What is Redux?

redux

A very quick overview!

Open this CodeSandbox to learn and play with the basic concepts!

F.A.Q.

  • Why redux-thunk and not redux-saga? Because of this! 🤮

Exercises

$ npm i # download dependencies
$ npm start # enjoy! 🚀
  1. Go to src/store.js and only fix the TODO for now...
  2. Go to src/components/App.js.
  3. Great! Now our Redux app is working! 🎉 Let's add some new stuff!
  4. Go to src/actions/types.js and only fix the TODO for now...
  5. Go to src/actions/index.js and only fix the TODO for now...
  6. Go to src/reducers/posts.js.
  7. You now introduced a bug! 🐛 How can you fix it? 🤔 (hint: 2 steps)
  8. Hint: it would be nice to use redux-logger, wouldn't it? 😉
  9. Go back to to src/actions/types.js and fix the FIXME!
  10. Go back to to src/actions/index.js and fix the FIXME!
  11. Go to src/reducers/comments.js.
  12. Go to the branch redux-thunk, and to src/actions/index.js and have a look! 👀
  13. Where would you dispatch the action for fetchComments??? 🤔 (hint: 2 steps)
  14. ##BONUS## (lenses 👓)

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.