#What is the best way to prevent a function running after its fetched and not loaded.
5 messages · Page 1 of 1 (latest)
5 messages · Page 1 of 1 (latest)
I have data that I want to live in short term cache. After initial load, I want to run a function against that data but not run that function if the data is 'fetched' again.
What is the best way to prevent a function running after its fetched and not loaded.
what's the function doing? Since queries are idempotent, any transformation would likely need to be done again after a refetch