Mention that key is not a prop in the docs.#5740
Mention that key is not a prop in the docs.#5740dallonf wants to merge 1 commit intofacebook:masterfrom
key is not a prop in the docs.#5740Conversation
Just had to help my friend with this. Figured I'd try to help the rest of the world, too!
|
I worry that we are adding a ton of stuff to docs, often covering edge cases that most users never hit. It creates a lot of clutter, and makes the docs harder to understand, since they are covering all the manusha in a page that is trying to communicate a basic high-level understanding. I suspect that most users wouldn't try accessing the key, since it is a React reconciliation hint rather than a prop on the element. And even if they do, I wonder how many of those people would have read+remembered this little note buried deep in the page on "multiple components". I think it might be better to use |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks! |
|
Closing in favor of something more like #5744 |
Just had to help my friend with this. Figured I'd try to help the rest of the world, too!
New paragraph, for reference: