Y
Y
Yourgrandfather2021-12-19 07:17:26
JavaScript
Yourgrandfather, 2021-12-19 07:17:26

Is there an equivalent to querySelector() in React?

Good afternoon, such a question, is there such a possibility in React:
I am using SwiperJS and I need to select an element inside the next slide, how can I do this?
As far as I know, directly accessing the DOM in React is bad form, but then what to do in my case?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question