JSX style
Do you like to write non-trivial event handlers inline in the JSX/TSX as anonymous functions, or define an inner function.
The choice is really between the locality of keeping the event handler inside the element that it applies to, or keeping the structure of the JSX separate from the stuff-that-does-stuff?
The choice is really between the locality of keeping the event handler inside the element that it applies to, or keeping the structure of the JSX separate from the stuff-that-does-stuff?
