alloc / alloc/saus

Export `clearCache` helper

Đang mở
#34 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
backlog enhancement runtime
Ngôn ngữ chính
TypeScript
Star
38
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

This clears the cache that `defineStateModule` loaders use.

You can call `clearCache` in the `then` callback of a renderer to ensure `defineStateModule` loaders are called on each render. Or you can pass a state module to it (along with any arguments) to clear a specific entry in the cache whenever you need.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.