Local state and server cache: finding a balance [eng]
How many times did you implement the same flow in your application: check, if data is already fetched from the server, if yes — render the data, if not — fetch this data and then render it? Unfortunately, most of the state management tools don’t provide any solution for this — and they don’t have to because we are not managing local state here.
In this talk, I will explain a difference between local state and server cache and will demonstrate one of the solutions for the latter case.
- Vue.js Core Team Member.
- Staff Frontend Engineer at GitLab.
- A conference speaker and author of articles on different topics related to Vue.js. Thanks to these activities she has got a title of Google Developer Expert in Web Technologies.