All Questions
229
questions
9
votes
1
answer
3k
views
Make Redux reducers and other non-components hot loadable
I'm having a tough time getting my reducers to be hot swapable.
I'm using Webpack and react-transform-hmr. With this, all of the CSS and the components are hot loaded when I save, but when I try and ...
1
vote
0
answers
213
views
Testing React-redux-es6-webpack applications with wallaby.js
How should I configure and write test cases for React-redux-es6-webpack application with wallaby.js. Please specify how to run the test cases also. I use visual studio code as editor
I have gone ...
13
votes
3
answers
15k
views
When using ES6, how can an imported function be undefined in one file, and not in another?
I'm using babel / ES6 with webpack. I'm importing the same 'actions' file - which exports a bunch functions - in two different places. At one place it returns a module, the other undefined:
actions....
59
votes
8
answers
20k
views
Using webpack aliases in mocha tests
I'm developing a web app at work in React/Redux/Webpack and am now starting to integrate testing with Mocha.
I followed the instructions for writing tests in the Redux documentation, but now I have ...