question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to report why did the owner render

See original GitHub issue

I use WDYR extensively, and I find myself doing the following quite often:

— See a re-render warning about MyComponent with “This could have been avoided <…> by preventing its father from re-rendering” — Find this particular usage of MyComponent, and identify its owner (“father”): OwnerComponent — Re-run WDYR, this time with {include: [/^MyComponent$/, /^OwnerComponent$/], logOnDifferentValues: true}, to find out which particular (maybe useful) re-render of OwnerComponent caused the useless re-render of MyComponent

It would be nice If I could see the reason of owner’s re-render right away. If such a feature is welcome, I’ll be happy to send a PR

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vzaidmancommented, Mar 21, 2020

sure let’s give it a try. sounds great

0reactions
vzaidmancommented, Apr 24, 2020

implemented!

Read more comments on GitHub >

github_iconTop Results From Across the Web

welldone-software/why-did-you-render - GitHub
One way of fixing re-render issues is preventing the component's owner from re-rendering. This option is true by default and it lets you...
Read more >
Basics of rendering and exporting in After Effects CC
Learn how to render and export in After Effects using the Render Queue panel and Media Encoder and what are the supported output...
Read more >
Guide to Rendering Personal Property - Bandera CAD
If you own a business, you are required by law to report personal property that is used in that business to your county...
Read more >
Operations and maintenance for reporting - Microsoft Learn
Use Report Manager for operational tasks: view reports, modify report properties, and manage associated report subscriptions. This article ...
Read more >
Managing owners, users, and permissions - Search Console ...
Each user for a Search Console property is assigned one of the following permissions: Owner: Has full control over properties in Search Console....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found