You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React can still rerender the component instance using useD3AttrTransition during animation. When a parent component renders the children will be rendered too and this can happen during the animation. shouldComponentUpdate won't guard against that since Context updates can skip shouldComponentUpdate() = false component.
I would safeguard against it by returning partially modified (halfway through animation) attributes from useD3Transition if it happens. This way if React rerenders halfway through animation for any reason, it will still work
No description provided.
The text was updated successfully, but these errors were encountered: