Referential Equality in React with useCallback()
Nov 22, 2023 · 2 min read · I will clear all your doubts about react hooks and Referential equality so let's dig deep into it - :) Problem statement:- Let's say you have a parent component where you want to update the UI using state, and inside the parent component there is a c...
Join discussion