Ritesh M. DhamnaskarUnderstanding of when to use useState() and useRef() hooksReact is a JavaScript library for building user interfaces. It is declarative efficient and flexible. React makes it easy to create…Jan 33Jan 33