Skip to content

Instantly share code, notes, and snippets.

@maxfarseer
Created November 19, 2019 13:25
Show Gist options
  • Save maxfarseer/efcbed3fb8943490a9f9cd69d50c80e7 to your computer and use it in GitHub Desktop.
Save maxfarseer/efcbed3fb8943490a9f9cd69d50c80e7 to your computer and use it in GitHub Desktop.
data request initial state
initialState = {
data: [],
isLoading: false,
error: null,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment