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

InvalidCache with wildcards

オープン
#2 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。