Created
February 21, 2019 20:51
-
-
Save adamhenson/56b0f28b683081c002a2e0ec4d255cc6 to your computer and use it in GitHub Desktop.
A page level component defined with Loadable Components and dynamic import
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
import loadable from '@loadable/component'; | |
export default loadable(() => import( | |
/* webpackChunkName: "Page" */ | |
'./Page' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment