Utility that will report the frequency of updates to tracked data.
import { UpdateFrequency } from 'reactiveweb/fps';export default class Demo extends Component { @tracked someProp; @use updateFrequency = UpdateFrequency(() => this.someProp); <template> {{this.updateFrequency}} </template>} Copy
import { UpdateFrequency } from 'reactiveweb/fps';export default class Demo extends Component { @tracked someProp; @use updateFrequency = UpdateFrequency(() => this.someProp); <template> {{this.updateFrequency}} </template>}
NOTE: the function passed to UpdateFrequency may not set tracked data.
Rest
Generated using TypeDoc
Utility that will report the frequency of updates to tracked data.
NOTE: the function passed to UpdateFrequency may not set tracked data.