Created
May 13, 2019 12:46
-
-
Save AlbertMarashi/f825d90575fccd6d437b02061c725a91 to your computer and use it in GitHub Desktop.
Async Infinite Loop Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<asyncComp/> | |
</div> | |
</template> | |
<script> | |
import asyncComp from "./asyncComp" | |
export default { | |
name: "app", | |
components: { | |
asyncComp | |
} | |
} | |
</script> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
export default { | |
render(h) { | |
return h(() => import("./comp")); | |
} | |
}; | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<pre>Hello World</pre> | |
</template> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment