flâneur — a map of the web's best reading

Forms – React

reactjs.org · 1,862 words · saved by 1 readers

A JavaScript library for building user interfaces

These docs are old and won’t be updated. Go to react.dev for the new React docs. These new documentation pages teach modern React and include live examples: <input> <select> <textarea> HTML form elements work a bit differently from other DOM elements in React, because form elements naturally keep some internal state. For example, this form in plain HTML accepts a single name: < form > < label > Name: < input type = " text " name = " name " /> </ label > < input type = " submit " value = " Submit " /> </ form > This form has the default HTML form behavior of browsing to a new page when the user

Explore this link on the map →

saved by

related reading