Skip to content

Instantly share code, notes, and snippets.

@adamhenson
Created February 14, 2019 15:06
Show Gist options
  • Save adamhenson/07e404e05c16009cfe5fa2d6e73141f5 to your computer and use it in GitHub Desktop.
Save adamhenson/07e404e05c16009cfe5fa2d6e73141f5 to your computer and use it in GitHub Desktop.
An example chart using dynamic imports with Loadable Component.
import loadable from '@loadable/component';
export default loadable(() => import(
/* webpackChunkName: "ApiVisualizationChart" */
'./ApiVisualizationChart'
), { ssr: false });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment