react-tweet icon indicating copy to clipboard operation
react-tweet copied to clipboard

Text getting appended in the DOM more than once

Open kopax-polyconseil opened this issue 3 years ago • 0 comments

When iterating on a twitter api v1.1 search result, I am doing a map on the array to render <Tweet />.

I use uuid/v4 to generate unique key, after trying multiple over solution.

No matter what I do, I get the text appended multiple times in the dom randomly.

I have checked the data, everything fines, there's a bug in here.

kopax-polyconseil avatar May 04 '21 20:05 kopax-polyconseil