Last active
October 29, 2018 16:00
-
-
Save jpgorman/44240818f016e2611700a47003540ecf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
async function getComponent() { | |
const {default} = await import('./my-module') | |
return React.createElement(default.view) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment