React debug setState() warning
Paste this on your browser console and navigate to routes without refreshing your browser.
Once this is inplace whenever you get Warning on setState() it should give you the stack trace.
var warn = console.warn;
console.warn = function(warning) {
if (/(setState)/.test(warning)) {
throw new Error(warning);
}
warn.apply(console, arguments);
};