code-forge-io / code-forge-io/remix-client-cache
InvalidCache with wildcards
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 247
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
If an user goes to `/books` and perform a query to `/books?query="harry potter"` both are cached. If user add to its favorites the book from the query. Then we need to invalidate both routes.
Since `/books` displays the favorites at the top.
It would be great to be able to invalidate the cache from a wildcard such as `invalidateCache("/books*")`
Great job btw!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.