@SYerunkar
@RyanCarniato
@acdlite
My algorithm for this decision is simple :
Do we have a performance issue? If no, then don't give f.
If yes, must this function be declared inside the component itself ? If yes, then useCallback, if no, then declare it outside of the component and take the deps as parameters.