useCallback, useSelector, useMemo, useReducer are actually operating on most recent arguments each run.
It's only useState and useRef who purposely ignore any changes on sequential calls
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
useCallback
,useSelector
,useMemo
,useReducer
are actually operating on most recent arguments each run.It's only
useState
anduseRef
who purposely ignore any changes on sequential calls