How to use react to realize seamless rotation of pictures on web side

need to be able to auto-broadcast, support gesture sliding switch, feel that react write a good hole ah, try a few components, such as react-swipe, is not friendly at all.

Apr.09,2021

ant-desgin is the best react component I've ever used.
this is the place for consultation, not for you to complain. If you think it's unfriendly, you can use it. It's not that you can't use it, just say it's unfriendly.
the carousel component can refer to the Walking Lantern.

of course you can also use the basic component of this component
react-slick


this function has nothing to do with react

I mean when you want to achieve a functional effect

you don't care about those frames

start with the most basic native js css html to see if you can write out the functional effect

if you can't even write the original

then let's see how to write the original

.

when you know how to write, you understand the principle

react will also know

Menu