useState() vs CC
CC can only have ONE state of Object type
CC always re-render if updated; even if nothing changed
CC has extends React.PureComponent for similar functionality
useState()
in FC is pure & will not re-render if state value updates to same
CC setState
automatically merges objects when state updated
setter in useState does not merge objects (unlike in CC)