Difference between “function component” and “class component”
2 min readJul 10, 2021
Different usage of “State”.
Class Component
State is used for values that are used for display
Values that are not used for display are stored as properties.
State is used for values that are used for display
Values that are not used for display are stored as properties.
I’m a front-end web developer based in Vancouver, studying CICCC, an web and mobile app development course. https://shiory602.github.io/portfolio/