themesberg / themesberg/flowbite-react
It should be possible to use the toggle switch with React as an uncontrolled component
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Summary
It should be possible to use the toggle switch with React as an uncontrolled component.
Context
This is a pretty common use case given we now have the useActionState hook.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the toggle switch component and its current controlled-state handling in the Flowbite React source. Check how its existing usage is tested or documented, then define done as supporting uncontrolled React usage while preserving current controlled behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100