3 ms·
It 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
by underwater 11y ago
It 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.