Giter Site home page Giter Site logo

Comments (4)

cdcardle avatar cdcardle commented on July 24, 2024 4

Alternative to AkaKuro4Ever's suggestion:

return {
...state,
items: state.items.concat(state.items.length + 1)
}

from intro-to-redux-library-codealong.

StephenArg avatar StephenArg commented on July 24, 2024

I second this. Just found this error today also.

from intro-to-redux-library-codealong.

blainelawson avatar blainelawson commented on July 24, 2024

cdcardle's is the only one that works.

from intro-to-redux-library-codealong.

maxwellbenton avatar maxwellbenton commented on July 24, 2024

Hi @AkaKuro4Ever,

Thank you for opening this issue. We've updated this lesson's code snippets so that they correctly return a new object for the INCREASE_COUNT case, have made the examples consistent, and have updated the solution to reflect these changes.

We apologize for any frustration this may have caused, but appreciate your feedback and help in improving our lessons for future students!

from intro-to-redux-library-codealong.

Related Issues (20)

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.