1 min readMar 11, 2020
The current article is a much more modern version of the slider I originally built. It doesn’t use any api requests to get the images. If you check out the repository links, you’ll see I just use an array of image links.
https://github.com/DZuz14/react-hooks-image-slider/blob/master/src/index.js
I import an array of image links into this file and pass them as props to the slider.
https://github.com/DZuz14/react-hooks-image-slider/blob/master/src/images.js
This is the array of images.