Deepak Pai
Deepak Pai's Blog

Deepak Pai's Blog

Follow
homebadges

Understanding how Apollo Cache normalizes data

Dec 6, 20208 min read

Apollo uses a cache layer for its queries. By default, before executing a query, first the cache is accessed and if its not present in the cache then...

Understanding how Apollo Cache normalizes data

Aliasing Preact correctly for Server Side Rendering

Nov 8, 20204 min read

React has become the most modern front end library. However there is a pretty big disadvantage of using it. react and react-dom library together make...

Aliasing Preact correctly for Server Side Rendering

Defining type policies during runtime in Apollo

Oct 26, 20206 min read

Apollo InMemoryCache type policies are used to define field policies for local state, to customize identifier generation by type or to define a custom...

Defining type policies during runtime in Apollo

Dead Code Elimination in Javascript

Oct 17, 20205 min read

Dead code elimination is a process wherein code that is not used is excluded from the code that is executed. In many compile time languages this is a...

Dead Code Elimination in Javascript