react-hot-loader: React DevTools `Show Source` is not working
I tried to view source of component in React Panel

But it ended up with somewhere in makeAssimilatePrototype.js
module.exports = function makeAssimilatePrototype() {
var storedPrototype,
knownPrototypes = [];
function wrapMethod(key) {
return function () {
if (storedPrototype[key]) {
return storedPrototype[key].apply(this, arguments);
}
};
}
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 15 (8 by maintainers)
Fixed in 4.5.0 (beta) - https://github.com/gaearon/react-hot-loader#setconfigconfig
@Bnaya - you need
setConfig({pureRender: true});Yeah, lets reopen this. https://github.com/facebook/react-devtools/pull/1191