No logs
See original GitHub issueI’ve installed this package and I’m using it on my react native project like this:
if (process.env.NODE_ENV !== 'production') {
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React);
}
But I get no log/error at all.
Do I need to do anything after install package?
"@welldone-software/why-did-you-render": "^3.0.0-beta.5",
"react": "16.8.3"
"react-native": "0.59.2"
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
The Best No-Log VPN - Stay Anonymous & Secure - NordVPN
NordVPN keeps no logs of your internet activity. We don't track, collect, or share what you do online. Discover the best private VPN...
Read more >What Is a No-Log VPN, and Why Is That Important for Privacy?
A no-logs policy is the cornerstone of a VPN service's promise to keep you anonymous. However, it comes with two major issues, both...
Read more >No-log VPN: What you do online is your business - Surfshark
No -log VPN for ultimate digital privacy · Make sure your ISP has no access to your browsing history · Secure your browsing...
Read more >12 Best No-Log VPNs in 2022: Anonymous, Proven & Verified
Here Are the Best No-Log VPNs — Tested in December 2022. ExpressVPN — A trustworthy no-logs VPN with excellent security features, P2P-friendly ...
Read more >Is A No Log Policy Reality Or A Myth In The VPN Industry?
A no log policy is something that is vital to keeping a VPN service as truly private as possible. If your VPN provider...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve added some
myComp.whyDidYouRender = true
but still there is no logscopied from the readme:
https://github.com/welldone-software/why-did-you-render#usage
mark all the components you want to be notified about their re-renders with
whyDidYouRender
like so:Or like this:
Or track all the components that are matched by their name in the include array like this:
You probably don’t want the regex way since it will find many many re-renders.
Better focus on your bigger bottleneck components using the first way.