Skip to content

[QUESTION] Why do we need both useBooleanState and useToggle ? #176

Open
@ho991217

Description

@ho991217

Describe the issue

While I skimming through your document, I noticed that there are useBooleanState and useToggle . I wonder if both of these hooks are needed. I think that they are virtually the same. In specific, isn't useToggle subset of useBooleanState?

Additional context

N/A

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions