I am trying to pass a parameter called " key " for a responsive component, and it does not work. If I use " keyy " instead of "key", then it works.
It seems to me that the βkeyβ is a limited keyword, and I cannot use it as a parameter name.
It's true?
This is my example:
render() { <MyComponent key='apple' keyy='pear'> }
javascript reactjs
zappee
source share