Hello guys, in this video I create a simple slider using useState hook and conditional rendering. The intention of the video is Logic, the slider is not that great but you can try your own css to make it look beautiful.

The idea is to render images based on steps which we have defined in state. We can always change this step onClick of left and right divs.

GitHub Link: https://github.com/HamzaAnwar1998/Reactjs-Slider

Fragments - AERØHEAD https://soundcloud.com/aerohead​​
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0
Free Download / Stream: https://bit.ly/al-fragments​​
Music promoted by Audio Library https://youtu.be/O7PzeUTESAA

song unravel: https://www.youtube.com/watch?v=_aPTX3jfPlI

#react #usestate

How to Create A Simple Slider using React Hook (useState)
1.45 GEEK