This is FYI for people using responsive and redux-devtools who receive an OP message. Your structure looks like
project client node_modules react redux-devtools node_modules react
The code in the client will require the first reactive module; that redux-devtools will need to respond differently. A reactive module preserves state and assumes that it has all state.
You receive an OP message because your status is split between 2 reactive modules. This situation is what @asbjornenge believes in.
I linked the client code to webpack, so I used it to solve the problem. You can make all require and import always use the first reaction by adding the following to webpack.config.js
module.exports = { ... resolve: { alias: { 'react': path.join(__dirname, 'node_modules', 'react') }, extensions: ['', '.js'] }, ... );
I did not consider what I would have to do if there were a situation with disaggregated code running on node.
JohnSz Sep 07 '15 at 18:09 2015-09-07 18:09
source share