Currently, I am working on creating an image carousel from scratch using ReactJS.
Here is the progress I have made so far: https://codesandbox.io/embed/optimistic-elbakyan-4vzer?fontsize=14&hidenavigation=1&theme=dark
When you drag the mouse to change the image, you might notice that at certain speeds, there is a slight stuttering effect. It's hard for me to explain this in English since it's not my first language.
Do you have any suggestions on how to improve the smoothness of the carousel? I'm open to experimenting and trying out different approaches. Your feedback would be greatly appreciated.