Skip to main content

All Questions

Tagged with
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 ...
wesbos's user avatar
  • 26.2k
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 ...
Dixy Xavier's user avatar
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....
Flion's user avatar
  • 10.8k
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 ...
Danny Delott's user avatar
  • 6,928

15 30 50 per page
1
12 13 14 15
16