Skip to content

Redux state structure for storing the API data #2

Description

@arunkumar413

As there will be numerous API calls that will be made to backend we need to have a proper structure to store the API data in redux state. The structure should include:

  1. API name
  2. Unique naming convention to easily identify the API,
  3. Http status code of the fetch operation
  4. Whether the fetch operation is loading
  5. default data
  6. Error handling

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions