I'm going migrate to Redux.  My application consists of a lot of parts (pages, components) so I want to create many reducers. Redux examples show that I should use combineReducers() to generate one reducer.  Also as I understand Redux applicati...
I'm writing a javascript webapp using webpack 2 as module bundler.  What I need is a way to mix long term caching feature (https://webpack.js.org/guides/caching/) and code splitting (https://webpack.js.org/guides/code-splitting/).  I'm able t...
I assume that I can achieve what I am trying to do with webpack but still could not figure it out. Here is the use case.   I have couple of Angular Apps (will get loaded within same browser window) which will be reusing exactly the same vendor bundle...
since we can import style sheets like below :   <link rel="stylesheet" media="screen and (min-width: 900px)" href="widescreen.css"> <link rel="stylesheet" media="screen and (max-width: 600px)" href=...
I'm using gulp and I want to know if it has capabilities for code splitting. Something similar to what is mentioned here in the webpack site . Ive looked online but not seen anything dedicated to that....
Using webpack2.2.0-rc1 and react routerv4, and using this gist to make code spliting to work, which states the following  function asyncComponent(getComponent) {   return class AsyncComponent extends React.Component {     static Component = null;...
How to import from a multiple class exported js file in react-loadable. I am trying to import CustomButton from MyButton.js using react-loadable in Home.js. This is the only way I know to do it, is not working.  MyButton.js  import {   CustomButton,...
I'm using Create-React-App and am looking to use the dynamic import() supported by webpack 2.0 to import a module based on a variable string.  I've looked at the official proposal (https://github.com/tc39/proposal-dynamic-import) and it seems...
I have lots of code shared between web and web worker parts of my browser app.  How can I tell webpack to split my code up into common chunks so that the result is garanteed to work 100%?  The webworker code breaks (fails at runtime) after I tell web...
We are working on a React component library. Some of the components need to updated without the need to redeploy the host app code. This is very much like say Google Maps library, where the client API is a small shell code which imports the actual Ma...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.