SizeMe causes re-render when clicking child component
pitops opened this issue · comments
Petros Kyriakou commented
I have an issue where the child component is canvas based and on click, it re-renders the component. Is there any way prevent it from happening?
Sean Matheson commented
Are you passing a component or a function to the children? Can you give an example please via codesandbox.io?
Sean Matheson commented
Closing for now. Please provide a codesandbox.io example and I would be happy to debug.