Skip to content

Comments

No need for useState here — useCounter handles the state internally#7803

Merged
rickhanlonii merged 1 commit intoreactjs:mainfrom
gbhardwaj00:fix-remove-useState
May 16, 2025
Merged

No need for useState here — useCounter handles the state internally#7803
rickhanlonii merged 1 commit intoreactjs:mainfrom
gbhardwaj00:fix-remove-useState

Conversation

@gbhardwaj00
Copy link
Contributor

Remove useState from Counter component; useCounter handles state internally

@rickhanlonii rickhanlonii merged commit ae4a40a into reactjs:main May 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants