V
V
vaskadogana2017-02-23 12:22:38
React
vaskadogana, 2017-02-23 12:22:38

I read about ReactTransitionGroup, what is the advantage over the usual css animation?

https://facebook.github.io/react/docs/animation.html
as far as I understand it hangs the same transition through its own set of classes.
Or did I misunderstand?
Who used it, where can I look at work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2017-02-23
@maxfarseer

From the documentation:
That is, this is not a replacement for the usual css animation, but as the authors write: an easy way to write css animation for react components that appear or are removed from the DOM
Through your set of classes. With the transition group, you just specify which classes will be used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question