Back

We all have faced this issue one or many times. We need an API call, but not in every refresh or rendering of the component. You cannot just put it in local storage and forget about it because there is a good chance it will get updated sometimes. In this kind of case, what I do is I still use the local storage but use it as a times cache storage. Let me show you how.

msamgan.com/how-i-cache-api-response-with-the-help-of-local-storage-for-enhanced-performance

127

  • No matching results...
  • Searching...

/ 1000