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

UseCounter not working #128

Closed
hdennison opened this issue Feb 25, 2019 · 1 comment
Closed

UseCounter not working #128

hdennison opened this issue Feb 25, 2019 · 1 comment
Labels

Comments

@hdennison
Copy link

It just changes the value the first time.

Incorrect behavior can be found in the documentation demo itself:

https://streamich.github.io/react-use/?selectedKind=State%2FuseCounter&selectedStory=Demo&full=0&addons=1&stories=1&panelRight=0

streamich pushed a commit that referenced this issue Feb 25, 2019
## [5.5.4](v5.5.3...v5.5.4) (2019-02-25)

### Bug Fixes

* 🐛 new React behaviour needs useState to set something ([e926faf](e926faf)), closes [#128](#128)
@streamich
Copy link
Owner

🎉 This issue has been resolved in version 5.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants