where do we place certain code
- according to business feature - code organization, abstract thinking
- according to browser, web standards, native apis, react life cycle - nature of task
the categorization not entirely accurate
- when do the above run varies drastly based on where the tag is placed, whether
- in each JS file (before writing any react code)
return(yah, we ignoring class components for now)
useEffect- when do they run?
useCallback- when do they run?
outside of react (but consumed by components)
- (around) apis calls