https://github.com/kylealwyn/react-webpack-code-splitting
introduction to code splitting
https://github.com/kylealwyn/react-webpack-code-splitting
code-splitting react webpack
Last synced: 5 months ago
JSON representation
introduction to code splitting
- Host: GitHub
- URL: https://github.com/kylealwyn/react-webpack-code-splitting
- Owner: kylealwyn
- Created: 2017-03-06T18:43:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T20:11:49.000Z (over 8 years ago)
- Last Synced: 2025-09-24T16:49:47.457Z (5 months ago)
- Topics: code-splitting, react, webpack
- Language: JavaScript
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Code Splitting Introduction
This repo explores code splitting with React and Webpack. It is not meant to be used as a boilerplate, but more as inspiration for learning what code splitting actually does.
## Features
- Preact instead of React for smaller bundle size
- Code splitting using [dynamic-import](https://github.com/airbnb/babel-plugin-dynamic-import-webpack)
- Prefetching async chunks using [preload-webpack-plugin](https://github.com/GoogleChrome/preload-webpack-plugin)