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.

Could I turn off the tracking component from a specific library?

See original GitHub issue

Could I turn off the tracking component from a specific library?

After upgrade to Ant Design v4, the Table component’s specification has changed as well. So I need to turn whyDidYouRender warning off for this component.

I know that we could turn off whyDidYouRender by using whyDidYouRender = false on a specific component. How could we do the same for a specific component from the library like Ant Design?

I don’t want to set exclude in the configuration of whyDidYouRender, because of the re-rendered component name is quite common (for instance, Body, undefined)

Thank you in advance.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

3reactions
vzaidmancommented, May 3, 2020

i need to research it a little more.

2reactions
vzaidmancommented, Nov 12, 2020

Yes it would, but just in case the library exports components with unique enough names. In general I see that the new JSX transformation can solve this issue in the future. I hope I’ll have time to get to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide published styles and components
Use Library analytics to track component usage, including when components are detached. Hide styles. To hide a style when a library is published,...
Read more >
Shared Component Library: Share Reusable Components
Your components are now tracked, versioned and ready to be shared. All that's left is to create a collectionon Bit's free hub, and...
Read more >
Dependency tracking for solution components
Solution component dependencies help make sure you have a reliable experience working with solutions. They can be viewed in the application ...
Read more >
Track Your Inventory with Square for Retail
This will turn on inventory tracking for all items and set the stock count to zero for items ... Go to your Item...
Read more >
Using ARCore with Vuforia Engine | VuforiaLibrary
You can enable Vuforia Engine to use ARCore instead of using Vuforia's own ... of the ARCore library as specified on the Vuforia...
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