welldone-software/why-did-you-render

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

Open

#269 ouverte le 15 mars 2023

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)JavaScript (188 forks)batch import
enhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (10 560 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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?

Guide contributeur