Comments (4)
Alternative to AkaKuro4Ever's suggestion:
return {
...state,
items: state.items.concat(state.items.length + 1)
}
from intro-to-redux-library-codealong.
I second this. Just found this error today also.
from intro-to-redux-library-codealong.
cdcardle's is the only one that works.
from intro-to-redux-library-codealong.
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)
- Curriculum HOT 1
- master branch contains the solution HOT 1
- App won't render in browser with code provided in readme HOT 1
- It always returns HOT 1
- Inconsistent incrementation of item count in lesson produces error
- Same issue as #13 except the correct solution is this HOT 2
- Same issue as #13 and #16 - ReactDOM.render Error HOT 1
- Return's an Array Instead of an Object HOT 1
- This lab was not clear and I was unable to follow along HOT 1
- Props has some issues HOT 1
- This lab probably set to the wrong order HOT 1
- ShoppingListItemReducer *still* causes failure HOT 1
- Extra ")" causing compiling to fail HOT 1
- Fix grammar
- Redux store update doesn't trigger re-render of component HOT 1
- mocha test wrappers just take in .first and .last instead of by name HOT 1
- handleOnClick function in ./src/App.js HOT 1
- Provider dependency still causing issues HOT 1
- Lesson not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intro-to-redux-library-codealong.