I am rebuilding a project from JQuery、Bootstrap... to React and have some concept need to clarify.
A sample with JQuery: I have an element which has a click function called ShowTarget and the function will use JQuery toggle.
function ShowTarget() {
$('#target').toggle("blind", 500);
}
I know how to use React click event to show or hide the #target element but now I need the ("blind", 500)
transaction effect.
In this case, implement the transaction effect with CSS by myself or bind React with JQuery, which one is better?
And I see the ReactTransitionGroup
in React official site, maybe this one?