Action

Action is executed during an HTTP POST request. It is responsible for processing data mutations. Typically, an Action is triggered by a form submission or POST request. One can also return a call to ReloadWithError in order to tell torque to re-execute the Loader/Renderer code path with the given error attached to the request context. The UseError hook can be used to retrieve the error in the Loader to provide additional error state in the resulting ViewModel.