japgolly.scalajs.react.CompStateAccess
This is a hack to avoid creating new instances for each type of state.
This is a hack to avoid creating new instances for each type of state.