Skip to content

Conversation

@fauh45
Copy link

@fauh45 fauh45 commented Dec 4, 2025

Add a function to clear out the preload cache for the use case where calls to useSWR are dynamic, thus the data are not loaded on to the normal cache, and just being left there on the cache.

Background use case: #4193

  • Added clearPreloadCache to clear preload cache
  • Added test to see if clearPreloadCache would work

@fauh45 fauh45 requested review from huozhi and shuding as code owners December 4, 2025 08:48
@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 4, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant