390885 (23) [Avatar] Offline
#1
Warning: Unknown prop `frameworkName` on <h1> tag.
When I run the code from github in the folder of hello-js-world-jsx, there is such a warning in the console.
react.js:20483 Warning: Unknown prop `frameworkName` on <h1> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in h1 (created by HelloWorld)
in HelloWorld
in div


Could you please help to tell which best practice do you prefer and why?
Azat Mardan (41) [Avatar] Offline
#2
Warning: Unknown prop `frameworkName` on &lt;h1&gt; tag.
frameworkName is not part of HTML specification. only standard attributes will be rendered by standard elements like h1.

---

Azat, author of React Quickly