Hi,
Could someone explain why I would want
React -> Apollo -> Prisma
vs
React -> Prisma
?
w
woss
12/24/2018, 11:05 AM
prisma is a SERVER, apollo is a CLIENT that connects to the SERVER ๐
woss
12/24/2018, 11:06 AM
btw, don't confuse Apollo server and Apollo Client, i think you are taking about Client, the
apollo-react
and
apollo-boost
?
w
Will
12/24/2018, 5:09 PM
I assume I would use apollo-react and apollo-boost to connect react to prisma. Why would I want the middleman though?
Why should I use apollo client over something like generated prisma client?
n
Nick
12/24/2018, 5:48 PM
Have you had look into gatsby.js itโs pretty much just react and graphql
@Nick Thanks for the answer. I don't think Gatsby.js is something that i'm looking for.
Still a bit unclear on why apollo client vs generated prisma client for a react frontend. If anyone could provide clarification, I'd appreciate it ๐