Kong / swrv

Stale-while-revalidate data fetching for Vue

Home Page:https://docs-swrv.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retry on error after the component has been unmounted

tochoromero opened this issue · comments

When a SWRV calls fails by default it will keep trying to fetch data. This is great, the problem is the retries keep happening even after the component has been unmounted.

I believe it just need to check for unmounted here

@tochoromero sorry for the slow turnaround on responding to this, do you feel up to submitting a PR?

This is resolved as of 1.0.1 🚀