Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: use right way to reverse state in examples code 'CheckboxWithLabel.js' #14184

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

cw1997
Copy link
Contributor

@cw1997 cw1997 commented Jun 5, 2023

Summary

Fix input event handler function onChange: use the callback function to reverse the state

Test plan

I only edit the examples code for docs, it needn't be tested.

fix input event handler function `onChange`, use the callback function to reverse the state
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 5, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@netlify
Copy link

netlify bot commented Jun 5, 2023

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit fa3307c
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/647dcabe36d8e4000801f718
😎 Deploy Preview https://deploy-preview-14184--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@cw1997 cw1997 changed the title Update CheckboxWithLabel.js fix: use correct method to reverse state in examples code 'CheckboxWithLabel.js' Jun 5, 2023
@cw1997 cw1997 changed the title fix: use correct method to reverse state in examples code 'CheckboxWithLabel.js' fix: use right way to reverse state in examples code 'CheckboxWithLabel.js' Jun 12, 2023
Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SimenB SimenB merged commit 4aae8e9 into jestjs:main Jun 21, 2023
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants