V
V
Vyacheslav_Frein2022-03-30 17:17:50
JavaScript
Vyacheslav_Frein, 2022-03-30 17:17:50

How to track DOM change from console in React?

Hello! Can you please tell me how in react it is possible to track the change in the value of the input from the browser console?
I tried to make a ref to the input and added a link to current.value in useEffect. Does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
low molecular macro, 2022-03-30
@molekulyarniy

regular JavaScript. The console does not have all these "things" from React

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question