M
M
Maxim Korolsky2016-11-25 22:49:39
React
Maxim Korolsky, 2016-11-25 22:49:39

Combine Redux and Relay?

We have an old project written in Reudx and React. We have GraphQL on the backend. The boys
and I want to breathe new life into it and connect Relay
. At the moment, Lokka is used and it's just awful.
Is it realistic to do it? I read about conflicts between Redux and Relay, but it's been more than a year since then
. Are there any examples or tutorials?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Yarosh, 2017-11-14
@voidnugget

Apollo2 came out, so the question disappeared by itself...
Storing the state in redux under GraphQL is a very bad idea, since you need to immediately arrange middleware for merge / split operations on graphs, and our developers usually "niasil" this.
Yes, in relay modern (1.0+) you can use redux as a store via Environment .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question