easy5 pts · first answer countsreactreact-forms
Input that ignores typing
Users cannot type in this input: the text never changes. Why?
function NameField() {
const [name, setName] = useState('')
return <input value={name} />
}Discussion 0
Join free to post in the discussion.
Related questions
- Why React lists need keysFrontend Developer
- Changing a prop inside a childFrontend Developer
- Multiple setState callsFrontend Developer
- Form keeps the previous user dataFrontend Developer
- Cause of a hydration mismatchFrontend Developer
- Why React.memo did not helpFrontend Developer
- Keys for rows loaded from an APIFull Stack Developer
- Search shows results for old inputFull Stack Developer