Özgün Bal
Software Developer, Javascript Enthusiast
PS: create-react-class is a separate package after v16
Stable Release: v16.8 - Feb 2019
Context/Binding Problems
not applicable with class components
applicable with hooks
Do you update multiple items with single action?
No -> useState
Yes -> (maybe) useReducer
useEffect for all:
(in small demo application)
Line of code: 347
Line of code: 334
*No types: Typescript, Flow or prop-types
By Özgün Bal