Questions tagged [code-splitting-async]
19 questions
0
votes
1 answer
React-Code-Splitting Not Working
After reading this post, I tried to use react-code-splitting to splite my JavaScript bundle.
Webpack Version: 3.10.10
PageRouter.js
import Async from "react-code-splitting";
import React from "react";
// import Home from "pages/home/Home";
//…

Casper
- 4,435
- 10
- 41
- 72
0
votes
0 answers
Webpack code spliting with lazy loading
I have module system with code splitting and lazy loading and dynamic import. Every module is a git repository and they importing in shell (the shell in which the modules are displayed). I want to deploy one module changes without rebuild. Does…

CoonJS
- 101
- 3
0
votes
0 answers
webpack async code splitting based on routes loads all chunks in all the routes
I have enabled route based chunking in my react application.
I have used require.ensure
require.ensure([], function(require) {
require('./Component1');
});
My app contains two routes /home and /pro
Here is my route.js
const React =…

John
- 8,846
- 8
- 50
- 85
-1
votes
1 answer
React Code Splitting dynamic import typescript interface
Is there any way to use dynamic import('path') for an exported interface?

Domenico Di Sarno
- 35
- 11