code-forge-io / code-forge-io/remix-client-cache

InvalidCache with wildcards

Abierto
#2 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
247
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.