mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-18 15:12:26 +00:00
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2) Signed-off-by: dependabot[bot] <support@github.com>
React code splitting made easy. Reduce your bundle size without stress ✂️✨.
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>
)
}
Supporting Loadable Components
Loadable Components is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to the support of these awesome backers. If you'd like to join them, please consider:
Gold Sponsors
Gold Sponsors are those who have pledged $100/month and more to loadable.
License
Licensed under the MIT License, Copyright © 2017-present Smooth Code.
See LICENSE for more information.
Languages
JavaScript
70.8%
MDX
28.7%
Shell
0.5%