#Is using 'useCallback' inside 'select' option a good pattern?
4 messages · Page 1 of 1 (latest)
- yes but slicing an array is not expensive
- you're not using id inside the function so why would it be a dependency?
- was just for the example here
- same (my mistake)