react-intersection-list icon indicating copy to clipboard operation
react-intersection-list copied to clipboard

How to use with functional components

Open ancashoria opened this issue 5 years ago • 0 comments

How do you use the <List /> when it's parent is a functional component?

The problem there is that you have to define renderItem function inside render which always triggers a rerender on the <List /> component.

ancashoria avatar May 12 '20 11:05 ancashoria