Closed troutowicz closed 9 years ago
Agreed!
Taking this a step further, it would be awesome to have shouldComponentUpdate
methods wrap and OR their results. There is a discussion about this here. I have pushed the proposed changes to this PR.
:+1:
I feel throwing on duplicate
render
andshouldComponentUpdate
methods is unnecessary and takes away from the the power of stamp composition. Instead, we can just override with last-in priority. This would simplify the React logic quite a bit, leaving only the React lifecycle method wrapping.I don't consider this unexpected behavior, if anything it adds flexibility. Thoughts @ericelliott?