welldone-software/why-did-you-render

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

Open

#269 opened on Mar 15, 2023

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (188 forks)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (10,560 stars)
PR merge metrics
 (No merged PRs in 30d)

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?

Contributor guide