My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Controlled and uncontrolled form inputs in React don't have to be complicated - Gosha Arinich

Gosha Arinich's photo
Gosha Arinich
·Nov 11, 2016

You may have seen many articles saying “you shouldn’t use setState,” and the docs are claiming “refs are bad”… That is so contradictory. It’s hard to understand how to “get it right” and even what are the criteria for choosing.

How the hell are you supposed to make forms?