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.

Prop warnings from dependencies

See original GitHub issue

Describe the bug

React v 15.8 has become very noisy with errors of the form “Unknown event handler property onVisibilityChange. It will be ignored”.

That’s all very well but in some cases it is our dependencies that are doing this. Sadly this problem comes through to users of Storybook.

Not quite sure if there is some workaround here (apart from PR-ing our dependencies of course). Let’s collect a list here:

  • react-popper-tooltip (onVisibilityChange to TooltipTrigger)

To Reproduce Run any the beta storybook (official storybook or a user storybook)

Expected behavior No warnings

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tmeasdaycommented, Feb 18, 2019

Actually totally false accusations on react-popper-tooltip, it was us, also fixed in above PR

1reaction
tmeasdaycommented, Feb 17, 2019

Hey @web-padawan,

The middle one is. The other two are issues that still need to be resolved (I think the last one has been, see #5602). I’ll sort out the first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning for 'exhaustive-deps' keeps asking for the full 'props ...
The example 1 gives me the following warning in CodeSandbox environment: React Hook useEffect has a missing dependency: 'props.myProp'.
Read more >
Understanding the React exhaustive-deps linting warning
The first exhaustive deps warning we got was because a single primitive variable was missing in the dependency array.
Read more >
React.js Passing setState as prop causes a warning about ...
The issue is that I get a warning saying I need to use props in my dependency array, however, I do not want...
Read more >
Command-Line Interface - Gradle User Manual
By default, Gradle won't display all warnings (e.g. deprecation warnings). Instead, Gradle will collect them and render a summary at the end of...
Read more >
PackageReference in project files - NuGet - Microsoft Learn
Using PackageReference for a project with no package dependencies ... NuGet observes the following warning properties:.
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