4 ms·
I usually just animate with refs. When a React component root or its DOM children require complicated animations I will not allow them to update as per normal,
by darepublic 7y ago
I usually just animate with refs. When a React component root or its DOM children require complicated animations I will not allow them to update as per normal, just initially mount them and then animate via direct DOM manipulation.