Plain JavaScript state class module for state management.
Initialize a State instance and call the setState method to set the initial state object and each time data is updated. Use the getState or getStateKey methods to read the current state properties and values.