Harnessing the Power of useRef and useState in React: Exploring Differences, Similarities, and Combined Use