preactjs / preactjs/preact

Uncontrolled input

Open
#1,899 21 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
38.9k
Forks
2.3k
Avg merge
20h 18m
Merged PRs (30d)
35

Description

Same logic with different libraries works different.

React - ✅
https://codesandbox.io/s/react-controlled-input-egxgu

Preact - ❌
https://codesandbox.io/s/preact-controlled-input-kib3p

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the linked React and Preact CodeSandbox reproductions and compare their controlled-input behavior. Define the expected behavior from the React example, then identify the Preact input path involved; the issue is done when the Preact reproduction behaves consistently with React.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.