November 2019
Amsul Naeem
twitter.com/amsul_
slides.com/amsul
Prescriptive
labelText
& value
renderIcon
Flexible
children
Refactor form to use composition:
Starting point:
lesson-04
directoryREADME
filePassing state down into child components
Passing state up into ancestor components
Validate form fields:
<ErrorMessage>
component
Starting point:
The useEffect
hook:
Handle online status in the form:
window.addEventListener('online', () => {})
window.addEventListener('offline'
, () => {})
Starting point:
November 2019
Amsul Naeem
twitter.com/amsul_
slides.com/amsul