Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ runIfDirty
Method
runIfDirty
packages/reactivity/src/effect.ts:219–223 ·
view source on GitHub ↗
* @internal
()
Source
from the content-addressed store, hash-verified
217
* @internal
218
*/
219
runIfDirty(): void {
220
if
(isDirty(this)) {
221
this.run()
222
}
223
}
224
225
get dirty(): boolean {
226
return
isDirty(this)
Callers
1
trigger
Method · 0.95
Calls
2
run
Method · 0.95
isDirty
Function · 0.85
Tested by
no test coverage detected