▲ | xico a day ago | |
The first page in the documentation, Getting Started, gives a React sample: https://animejs.com/documentation/getting-started/using-with... | ||
▲ | dkersten a day ago | parent [-] | |
Ah, I looked at the examples but I guess I missed this. Thanks! So it basically works outside of react land — you can animate your component but it’s applied after react renders it. It’s nice to see an example and that it works, but I suppose it does mean there are certain things it’s unable to do, such as animating on component removal (Motion does this by adding a wrapper component that detects when its children are removed, I suppose it’s not something you can achieve without special react specific support) |