Passing functions as props
Oskarino29 opened this issue · 1 comments
Oskarino29 commented
When passing a function (i.e. an event handler) as a prop into a React component, the render()
method in the parent component is called repeatedly ad infinitum