Naveen DA·FollowJul 30, 2021--ShareThanks ZHeka,Yes we can use `useMemo`, I am try to explain `useRef` also used here.