welldone-software/why-did-you-render

Is it possible to print testID along side Component name on wdyr logs?

Open

#269 geöffnet am 15. März 2023

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (10.560 Stars) (188 Forks)batch import
enhancementgood first issuehelp wanted

Beschreibung

I did not saw a discussion tab so I will post this here. It is not a bug, it is more of a question or suggestion.

I have been using wdyr for the first time in the last couple of days and I believe could be helpful if I can identify the components faster in the logs. Sometimes I see that a Pressable rendered again but my screen has multiple Pressables in multiple places. Reading the logs further help understand what is the exactly component but I believe that using an easier method could speed things up.

What do you think?

Contributor Guide