Skip to content

Reading: Class 27 Forms and Props

Karl Polintan edited this page Apr 25, 2019 · 1 revision

cf 27: Forms and Props

Readings

  • Function and Class Components
  • Rendering a Component
  • Composing Components
  • Extracting Components
  • Props are Read-Only pure/impure functions
  • Converting a Function to a Class
  • Adding Local State to a Class
  • Adding Lifecycle Methods to a Class mounting/unmounting component timer
  • Using State Correctly Do Not Modify State Directly
  • The Data Flows Down
  • Passing Arguments to Event Handlers

Skim forms

  • Controlled Components
  • The textarea Tag
  • The select Tag
  • The file input Tag
  • Handling Multiple Inputs
  • Controlled Input Null Value
  • Alternatives to Controlled Components
  • Fully-Fledged Solutions
Clone this wiki locally