code-forge-io / code-forge-io/remix-client-cache
InvalidCache with wildcards
Aperta
- Lingua principale
- TypeScript
- Stelle
- 247
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.