welldone-software/why-did-you-render

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

Open

Aperta il 15 mar 2023

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (10.560 star) (188 fork)batch import
enhancementgood first issuehelp wanted

Descrizione

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?

Guida contributor