Skip to content

Instantly share code, notes, and snippets.

@gulshanzealous
Created September 18, 2017 06:45
Show Gist options
  • Save gulshanzealous/22bc2eae464d4533107bcc5ad0a50ac8 to your computer and use it in GitHub Desktop.
Save gulshanzealous/22bc2eae464d4533107bcc5ad0a50ac8 to your computer and use it in GitHub Desktop.
Comparison between Redux and Relay
Redux is verbose but gives more freedom and the app is able to maintain the component level state.
Relay on the other hand maps data to components from the GraphQL server and doesn't involve intermediate local data stores
Redux is loosely coupled with React components
Relay acts as a container for components and handles all data interactions to the server with built-in data fetching and caching.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment