enum BaseState { loading, error, initial, success }