Created
September 18, 2017 06:45
-
-
Save gulshanzealous/22bc2eae464d4533107bcc5ad0a50ac8 to your computer and use it in GitHub Desktop.
Comparison between Redux and Relay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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