Using component state


#1

Originally published at: https://purelyfunctional.tv/single-page-applications/using-component-state/
Component-local state is useful for all those little bits of state that your components need to keep track of but don’t make much sense for the whole app to know about. They’re about the UI widget more than about the app.