The Wayback Machine - https://web.archive.org/web/20190402011613/https://github.com/smooth-code/loadable-components
Skip to content
React code splitting made easy ✂️ https://smooth-code.com/open-source/l…
Branch: master
Clone or download
Latest commit 79133eb Mar 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
examples fix(server): fix loading order of assets (#266) Mar 13, 2019
packages chore: fix tests Mar 29, 2019
resources feat: add React 16 support Oct 10, 2017
website
.eslintignore
.eslintrc.json
.gitignore
.npmignore
.nvmrc
.prettierignore docs: add website Dec 6, 2018
.prettierrc
.travis.yml
CHANGELOG.md v5.7.2 Mar 20, 2019
CODE_OF_CONDUCT.md docs: add community stuff Oct 29, 2018
CONTRIBUTING.md docs: add website Dec 6, 2018
LICENSE
README.md docs(readme): fix typo Dec 6, 2018
babel.config.js
lerna.json
netlify.toml
package.json
yarn.lock chore: upgrade deps (#271) Mar 14, 2019

README.md

loadable-components

React code splitting made easy. Reduce your bundle size without stress ✂️.

License npm package npm downloads Build Status Code style Dependencies DevDependencies Small size

npm install @loadable/component

Docs

See the documentation at smooth-code.com/open-source/loadable-components for more information about using Loadable Components!

Quicklinks to some of the most-visited pages:

Example

import loadable from '@loadable/component'

const OtherComponent = loadable(() => import('./OtherComponent'))

function MyComponent() {
  return (
    <div>
      <OtherComponent />
    </div>
  )
}

License

Licensed under the MIT License, Copyright © 2017-present Smooth Code.

See LICENSE for more information.

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.