We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23b22e commit c66991dCopy full SHA for c66991d
src/platforms/web/runtime/transition-util.js
@@ -27,7 +27,8 @@ if (hasTransition) {
27
}
28
29
30
-const raf = (inBrowser && window.requestAnimationFrame) || setTimeout
+// binding to window is necessary to make hot reload work in IE in strict mode
31
+const raf = (inBrowser && window.requestAnimationFrame.bind(window)) || setTimeout
32
export function nextFrame (fn: Function) {
33
raf(() => {
34
raf(fn)
0 commit comments