alloc / alloc/saus

Export `clearCache` helper

Aperta
#34 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
backlog enhancement runtime
Lingua principale
TypeScript
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.