salsita / prism

React / Redux action composition made simple http://salsita.github.io/prism/
496 stars 24 forks source link

Apollostack #60

Open jmatsushita opened 7 years ago

jmatsushita commented 7 years ago

Hi there,

I was wondering if you had interest in supporting or explaining how redux-elm could be integrated with Apollo? The redux foundation seems like it would allow this in a pretty straightforward way but I'm not clear about how one would go about keeping the elm-ish approach.

Any thoughts?

Cheers!

Jun

bjeanes commented 7 years ago

My thoughts exactly. I really like the Elm Architecture in general and really want to give redux-elm a spin but the data layer is GraphQL. Apollo is what I've been playing with in Redux already. I hope there's a natural composition of these two libraries...

Would love the authors' input on if this seems readily attainable.

jmatsushita commented 7 years ago

Maybe @jmarceli would have some suggestions, given the great work done wrapping redux-form?

jmarceli commented 7 years ago

I'm sorry but that's the first time I'm hearing about Apollo stack. GraphQL backend seems to be a promising solution (now I'm building Rails REST API which makes development quite complicated). I may try to integrate that with Elm but now I'm too busy to look into that.

tomkis commented 7 years ago

Unfortunately I do not have any experiences integrating Apollo into redux-elm but I already did that in plain redux and it was pretty essential to normalize all entities.