Commit bec0fbc
committed
fix(createVirtual): guard cancelAnimationFrame in onScopeDispose for SSR
Vue 3.5.31 now invokes scope disposal callbacks during SSR rendering.
The unguarded cancelAnimationFrame calls fail in Node.js where the
Web API is not available.1 parent cee44fa commit bec0fbc
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
| 658 | + | |
657 | 659 | | |
658 | 660 | | |
659 | 661 | | |
| |||
0 commit comments