Can we create a Smooth SlideToggle with ReactJS like this
https://www.w3schools.com/jquery/jquery_slide.asp
Also please refer:
http://jsfiddle.net/rFn5v/3/
I have seen too many tutorials and every one is using states to do the slide toggle function and it is not smooth. Anyone who can help me to give a right answer on it will be much appreciated. Thanks in Advance!
How to Create a Smooth Slide Toggle with ReactJS
802 views Asked by Ren Jitsm At
1
You can use state to show and hide slides : I have a list of slides in my App component:
and in each of the SlideShow : by changing the value of
show, the slide opens and closesand css code :
you can see demo online