There is also the useCallback hook which can be used to create a memoized function that, when passed to useEffect dependency array, doesn't triger re-renders.
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.
There is also the
useCallback
hook which can be used to create a memoized function that, when passed touseEffect
dependency array, doesn't triger re-renders.