Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
componentWillReceiveProps() is a bad idea #53
I tried using it today to bridge the gap between React and imperative code in this PR: artsy/emission#1401 It didn't work. I needed it for a side-effect, and React's docs explicitly say this is a bad idea. I ended up moving the code elsewhere, but I learned a lot about the React component lifecycle in the process.