Question: what are arrow functions in react?
Answer: You generate a function on every render, which will obviously have a new reference. If the component you pass this generated function to is extending PureComponent, it will not be able to bail out on rerendering, even if the actual data has not changed.