Mark Johnson
1 min readJan 12, 2019

--

Ah, my bad. I assumed it was server-side when I saw the query directives in the first example.

You’re right that GraphQL is not a panacea and of course there are exceptions. I wasn’t intending to imply otherwise. But in my experience, shaping is not enough of an issue with GraphQL to warrant a full state management library like Redux etc. Usually, React state or Apollo’s options.prop function works great for shaping when needed.

You may have a quite different case from ours though so your mileage may vary. Thanks for chiming in.

--

--

Mark Johnson
Mark Johnson

Written by Mark Johnson

Web designer, developer, and teacher. Working at the cross-section of learning and technology. Co-Founder, CTO of Pathwright. Launcher of side projects.

No responses yet