react-render-visualizer
react-render-visualizer copied to clipboard
Not working for stateless components
If you add the mixin to stateless components there is a null-error in line 104:
index.js:104 - Uncaught TypeError: Cannot set property 'renderLog' of null.
Solution would probably be to add the getInitialState method to the mixin.
getInitialState: function() {
return {
renderLog: [],
renderCount: 1
};
},
See #3