I’d been wondering about whether my function components in React (using hooks) would be slow due to creating functions within my function component. (in the render, basically). Dan Abramov on Twitter pointed me to this entry in the FAQ which answers that question.

tl;dr: not really!