How hook useCallback works?
What is useCallback in React JS?
UseCallback is a native React JS hook that memorizes functions, preventing them from being recreated every time a component is rendered, unless there's a change in the dependency list.
Let's explain with simple exampl...
reactnoobtomaster.hashnode.dev2 min read