Join Slack
Communities
Powered by
hey guys quick question by using apollo with react...
# prisma-whats-new
f
Florin
01/22/2018, 10:38 PM
hey guys quick question by using apollo with react in the frontend do I still use redux for all the local state or can this all be done using apollo?
m
max
01/22/2018, 10:46 PM
@Florin
apollo-client maintains state and caches received data based on type and id
e
Emi
01/22/2018, 10:50 PM
I use redux for app-level state and the apollo store for everything coming from the database.
l
lawjolla
01/22/2018, 11:08 PM
Check out apollo link state for a client only store. I'm also a big fan of MobX. Redux is boilerplate hell for client state
f
Florin
01/23/2018, 4:17 PM
@lawjolla
thanks a lot for the hint! apollo-link-state looks amazing!
parrotwave6
1
5
Views
Open in Slack
Previous
Next