code-forge-io / code-forge-io/remix-client-cache
InvalidCache with wildcards
- 主要言語
- TypeScript
- スター
- 247
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start at the invalidateCache("/books*") entry point and inspect how cache keys for /books and /books?query="harry potter" are currently matched. Define completion as invalidating both the base route and matching query routes when a wildcard is supplied, while preserving normal invalidation behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100