Skip to content

Instantly share code, notes, and snippets.

Created Jan 18, 2018
What would you like to do?
Code split react loadable
/// Somewhere on your express server
import Loadable from 'react-loadable';
Loadable.preloadAll().then(() => {
server.listen(port, function () {
console.log('Express server listening on port ' + server.address().port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment