mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-25 15:24:15 +00:00
This issue fixes #59 It is possible to create a configuration which will result into a wrong state but it should not happen in 99.99% cases.
7 lines
161 B
JavaScript
7 lines
161 B
JavaScript
import React, { Component } from 'react'
|
|
import loadable from 'loadable-components'
|
|
|
|
const Loaded = loadable(() => import('./Component'))
|
|
|
|
export default Loaded
|