Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/replay/frontend/src/lib/NoCache.ts
1029 views
1
import { createDecorator } from 'vue-class-component';
2
3
const NoCache = createDecorator((options, key) => {
4
// component options should be passed to the callback
5
// and update for the options object affect the component
6
(options.computed[key] as any).cache = false;
7
});
8
9
export default NoCache;
10
11