An open API service indexing awesome lists of open source software.

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

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)