How to show Loading when the key changes in useSWR even if the data for the key already exist in cache?
I am using useSWR hook for data fetching. I want to show Loading, whenever the key changes. I have included the filter
state in the key of useSWR, so whenever the state updates, it will call the API.