Run code after API request replay with vite-pwa-plugin
In a PWA, I need to run some code after a successful API call (i.e., to remove some data from the localStorage).
In a PWA, I need to run some code after a successful API call (i.e., to remove some data from the localStorage).