Похожие чаты

How do i use useRef to fill the value field

in input text ?

1 ответов

15 просмотров

No use useState not useRef.. useRef is for referencing dom contents generally though u can use it for other purposes. But useState is indeed better for your use case and is general practice

Похожие вопросы

Обсуждают сегодня

Карта сайта