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

docs(hooks): add a notice about useState alternative #5237

Merged
merged 1 commit into from Dec 15, 2021

Conversation

navarroaxel
Copy link
Contributor

Closes #

📝 Description

Add a comment about useState alternative, to make clear why useRef is the best choice.
Fix a typo in jsdoc.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

N/A

@changeset-bot
Copy link

changeset-bot bot commented Dec 13, 2021

🦋 Changeset detected

Latest commit: 801008e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 31 packages
Name Type
@chakra-ui/hooks Patch
@chakra-ui/accordion Patch
@chakra-ui/button Patch
@chakra-ui/checkbox Patch
@chakra-ui/color-mode Patch
@chakra-ui/counter Patch
@chakra-ui/editable Patch
@chakra-ui/form-control Patch
@chakra-ui/image Patch
@chakra-ui/menu Patch
@chakra-ui/modal Patch
@chakra-ui/number-input Patch
@chakra-ui/pin-input Patch
@chakra-ui/popover Patch
@chakra-ui/portal Patch
@chakra-ui/provider Patch
@chakra-ui/radio Patch
@chakra-ui/react Patch
@chakra-ui/skeleton Patch
@chakra-ui/slider Patch
@chakra-ui/tabs Patch
@chakra-ui/toast Patch
@chakra-ui/tooltip Patch
@chakra-ui/switch Patch
@chakra-ui/system Patch
@chakra-ui/input Patch
@chakra-ui/select Patch
@chakra-ui/textarea Patch
@chakra-ui/avatar Patch
@chakra-ui/props-docs Patch
@chakra-ui/test-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/chakra-ui/chakra-ui-storybook/FgBxcLt8SXkXMZzmaEqLBBwXqYAm
✅ Preview: https://chakra-ui-storybook-git-fork-navarroaxel-docs-742b34-chakra-ui.vercel.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 801008e:

Sandbox Source
chakra-ui/chakra-ui Configuration

@segunadebayo segunadebayo merged commit 57f10d8 into chakra-ui:main Dec 15, 2021
This was referenced Dec 15, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants