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.

In React 15.2 you get warning errors for unknown props

See original GitHub issue

Warning: Unknown props styleName, initialContent, contentDidMount, contentDidUpdate on <iframe> tag. Remove these props from the element

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ryanseddoncommented, Jul 19, 2016

Published v0.6.2

1reaction
uraracommented, Jul 29, 2016

I think all we have to do is to remove head and mountTarget from props variable. We don’t get warning as long as we use standard attributes(ex. src, width, height …) (cf: https://facebook.github.io/react/docs/tags-and-attributes.html)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown Prop Warning - React
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as...
Read more >
React 15.2 Unkown Prop Warning · Issue #517 - GitHub
We are now raising the following error for each instance of the date-picker. ERROR: 'Warning: Unknown props `date`, `locale`, `minDate`, ...
Read more >
How to fix React 15.2.0 “unknown DOM property” warning in ... - Twitter
It won't be removed, the problem is when you pass arbitrary props to DOM components.
Read more >
react-redux connect pattern to avoid unknown props warning ...
I just solved the same issue. The dispatch prop is there because you are not providing mapDispatchToProps when you call connect() .
Read more >
Check for extraneous props in React (and save hours of ...
This article explains how to check that all props passed down to your React components are the right ones, so you never wonder...
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