I'm new to React. I want to create a component when the state is updated, it will fade out and fade in again. Could someone please tell me how to do that like the JQuery here:
$("#someElement").fadeOut('slow').fadeIn('slow');
Thanks !
You want to use CSS animations and ReactCSSTransitionGroup.
More information, and an example, can be found here:
https://facebook.github.io/react/docs/animation.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With