4 ms·
How does this compare with Flux? Is it intended to be used with Flux or instead of Flux?
by chadly 11y ago
How does this compare with Flux? Is it intended to be used with Flux or instead of Flux?
- underwater 11y agoIt should be used instead of Flux. The one caveat is that Relay's store is a representation of the data you've defined in GraphQL. So you can't use it to store data that shouldn't exist on the server. That's something we'd like to fix soon.
- quicksnap 11y agoIs it not advisable to use Relay alongside Flux? I would think they could compliment each other nicely.
- underwater 11y agoYou can, and we do exactly that for some apps at Facebook. Ideally Relay could completely replace Flux. This is something we hope to build soon.