Aug 23, 2017 · 1 min read
I always knew that creating arrow functions creates anonymous functions on every render, but I missed the fact that it also makes the component re-render! Thanks.
An interesting question this introduces is whether I create an arrow function on an event handler of a _native_ component (e.g. on a div), will it recreate the div or just rebind the event handler?
