chenglou / chenglou/react-motion
Prevent subtree of components from re-rendering during animation
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I apologize if this is a duplicate question...but I could not find an answer for it.
I'm using the `` component to animate a container of sub-components, like this:
```
{styles =>
}
```
But each step of the animation causes all of those sub-components to re-render. Is there anything in the library to prevent the children from rendering while its in the process of animating? Or do I have to use `shouldComponentUpdate` on `` to prevent the rendering? Any ideas/examples of what that might look like?
Thanks in advance for your help!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.