I successfully added a library project with reaction loading to the project to allow code separation, the only problem I found was that the pieces created by the web package are not called, they are given whole names.
My code for use with reaction is
const AppRootLoadable = Loadable({
loader: () => import( './App'),
loading: () => null,
render(loaded) {
const Component = loaded.default;
return <Component />;
},
});
I added a comment to tell webpack 3 that I want this piece to be called an application. Did I do something wrong?
Khriz source
share