Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] Todo with Undo example - TypeError: Cannot read property 'length' of undefined #3422

Closed
ntedgi opened this issue May 8, 2019 · 2 comments

Comments

@ntedgi
Copy link

ntedgi commented May 8, 2019

todo with undo - example crush both locally and on sandbox
https://codesandbox.io/s/github/reduxjs/redux/tree/master/examples/todos-with-undo

also, appear in this page broken
https://redux.js.org/introduction/examples#todos-with-undo

the steps to reproduce
basic npm install and start

Screen Shot 2019-05-08 at 8 07 52

Screen Shot 2019-05-08 at 8 08 04

@ntedgi ntedgi closed this as completed May 8, 2019
@ntedgi ntedgi reopened this May 8, 2019
@ntedgi
Copy link
Author

ntedgi commented May 8, 2019

after further investigating, it seems like a redux issue related
changing in the package.json redux version to "redux": "^3.5.2",
working fine
tested with this dependencies

"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^3.5.2",
"redux-undo": "^0.6.1"
},

sda

@ntedgi
Copy link
Author

ntedgi commented May 8, 2019

#3423

@ntedgi ntedgi changed the title Todo with Undo example - TypeError: Cannot read property 'length' of undefined [examples] Todo with Undo example - TypeError: Cannot read property 'length' of undefined May 8, 2019
@timdorr timdorr closed this as completed in f6b8b53 May 8, 2019
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this issue Aug 21, 2021
Fixes reduxjs#3422
Closes reduxjs#3423


Former-commit-id: afd96d8
Former-commit-id: 00f0b48
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this issue Aug 21, 2021
Fixes reduxjs#3422
Closes reduxjs#3423


Former-commit-id: afd96d8
Former-commit-id: 00f0b48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant