welldone-software/why-did-you-render

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

Open

#269 建立於 2023年3月15日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)JavaScript (10,560 star) (188 fork)batch import
enhancementgood first issuehelp wanted

描述

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?

貢獻者指南