The state class pattern can easily be expanded to allow you to create component-ui / component-state pairs that provide reuseable functionality for your applications.
In this lesson we look at an example of creating a reuseable input component.
We also mention a re-useable form state management library that uses the state class pattern.