View on GitHub

Code Fellows reading notes

A repository for organizing notes from my learning.

React and Forms

Forms in React

Source (Docs): React Docs: Forms

The Conditional (Ternary) Operator

Source (article): codeburst.io - Ternary Operator

Things I want to know more about

The reading about forms made decent sense up until handling multiple inputs. My understanding is almost there, but my brain might be fried for the day. I’ll need to revisit handling multiple form inputs tomorrow with fresh eyes to parse more meaning out of it, since I don’t quite feel like I could implement it right now after completing the reading.

I do like the use of state for forms, though. I feel like it explains why input fields occasionally lag on input. Is that due to the state taking time to update? If so is the user input ‘invisible’ but being processed before rendering the updated form?