Why shouldn’t JSX props use arrow functions or bind?
Why you shouldn’t use inline arrow functions in JSX props Using arrow functions or binding in JSX is a bad practice that hurts performance, because the function is recreated on each render. Whenever a function is created, the previous function is garbage collected. Rerendering many elements might create jank in animations. Using an inline arrow … Read more