react-powerplug
react-powerplug copied to clipboard
Changing state causes rerender that breaks animations
Hi, I am trying to use the <Toggle> container to control the animation of a component, but the animations snaps between start and end instead of actually animating. This seems to be due to the children of the <Toggle> being completely re-rendered, instead of receiving new prop values.
I think styleguidist had a similar issue: https://github.com/styleguidist/react-styleguidist/issues/51
If you want I can provide a reproduction repo, but the setup is a little complicated.