question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(docs): create a hooks page for the Checkbox hooks

See original GitHub issue

In the Checkbox documentation there is a section about hooks. This one only mentions useCheckbox and useCheckboxGroup but does not give any information on how they should be used or an example.

Here is a link to the section: https://chakra-ui.com/docs/form/checkbox#hooks

They should include the return values, parameters, and at least one usage case as an example.

Moderator note: we should create a new page for the checkbox hooks in the “Hooks” section, but reference it in the Checkbox component page.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
nikolovlazarcommented, Dec 1, 2021

I agree @anubra266. We should put the hooks docs into their own page in the Hooks section, but we can reference that page from the Checkbox page.

2reactions
anubra266commented, Jul 20, 2021

Every component in Chakra UI is powered by hooks. Adding them to the doca now is not going to be an easy job. I’m thinking of a separate hooks docs though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to implement multiple checkbox using react hook
How to implement multiple checkbox using react hook ; React from ; 'react'; const ; Checkbox = ({ type = 'checkbox', name, checked...
Read more >
Hooks API Reference - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. This page...
Read more >
useCheckboxGroup - Refine Dev
useCheckboxGroup hook allows you to manage an Ant Design Checkbox.Group component when records in a resource needs to be used as checkbox ......
Read more >
Get Started | React Hook Form - Simple React forms validation
One of the key concepts in React Hook Form is to register your component into the hook. This will make its value available...
Read more >
Hooks - Keystone 6 Documentation
This function will be triggered whenever we execute a create , update , or delete mutation in our GraphQL API. It will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found