Discuss and implement proper API methods.

Action points

  • Create a universal hook (a factory) to use any HTTP method with optional data.
  • User isSuccess state for all requests and isProcessing

  • Using PATCH or PUT.
  • Using data in DELETE etc.
Edited by Maciej Lenartowicz