Regardless of what solution we choose, managing state in a client-side application involves handling storage, update the state/store and notify any components that subscribed to that data of the changes (reactivity).
After having used Redux before for managing my global client state I recently started favouring Apollo Client 3. Here are quick 5 reasons as to why :
All we need to do is initiate and configure the cache and the client. The most basic configuration is to just create a new InMemoryCache with the default initial values, an ApolloClient and point it to the GraphQL…
In the past 2 months I’ve been working on a storefront iOS app for a client’s store that’s build on the Shopify platform. Since Shopify uses GraphQL — a query language and runtime system — for accessing its API, I thought that would be a good time to dive into learning GraphQL. I have previous experience with REST and working with GraphQL has been nothing less than love at first sight. …
I want to start this article by first saying a big THANK YOU to one of my best friends, mentor and all around nice guy Gabriel Troia who introduced me to the world of Typescript and React and has been there every step of the way.
Also I want to mention that although I had a brief dance with a programming language (ActionScript) while I was in Uni, it has been more than 10 years since I wrote any line of code and my skills before starting to build this App were very minimal and resumed to just some basic…
Driven by all things creative