reactjs
Why does React warn “Unknown prop `p` on <p> tag. Remove this prop from the element.” when there's no such prop?
I get warnings like this when upgrading from React 0.13.3 to 15.4.2: Warning: Unknown prop `p` on <p> tag. Remove this prop from the element. For details, see https://fb.me/ react-unknown-prop in p (created by Unknown) (I had to split up the URL to get around a "no URL shorteners" thing on Stack Overflow; don't want to expand it because that would make the quoted error message inaccurate.) But I don't see any use of such a property. What could be the issue?
After some divide-and-conquer debugging, I found the culprit: <p dangerouslySetInnerHTML={{ __html: stuff }}></p> Changing it to this fixes the issue: <p dangerouslySetInnerHTML={{ __html: stuff }} />
Related Links
Using goBack function from react-router-redux
Can I create alias routes using react router?
Unable to update the state of my app, console.log inside reducer shows that object has changed, but the state remains same
Change background of parent after Match
React and Google's autocomplete Service and fetching zipcodes
Populating FieldArray based on a JSON file uploaded
componentDidMount not called
ReactJS component not rerendering when props are passed
React Redux … syntax error
How does one set the tabIndex attribute on a draft-js instance?
ComponentDidMount() not working
UIScrollView Canvas Equivalent?
ReactJS - props or propTypes?
React Router V4 structure
Should a view be ordering data?
Unable to load React class component inside other class component