Jul 23, 2017 · 1 min read
actually I was wrong: TransitionGroup isn’t a problem after all. The technique I proposed works perfectly, minus the fact that we gotta fix the race condition again.
But to re-iterate, TransitionGroup correctly doesn’t re-render a component that’s leaving with the props passed to the new appearing/entering component.
I don’t know why I thought that — I thought I saw a bug related to that while i was working on this yesterday, but I think it was something else triggering a re-rendering, yet the props were correctly staying the same.
I’m working on solving the race condition now and then updating the sandboxes with YOUR correct solution you pushed us to find.
