Skip to content

More warnings#81

Merged
alejandronanez merged 27 commits into
reactjs:masterfrom
jvelezpo:more-warnings
Feb 7, 2019
Merged

More warnings#81
alejandronanez merged 27 commits into
reactjs:masterfrom
jvelezpo:more-warnings

Conversation

@jvelezpo

@jvelezpo jvelezpo commented Feb 5, 2019

Copy link
Copy Markdown
Contributor

Warnings

  • refs-must-have-owner
  • invalid-aria-prop
  • dont-call-proptypes

Relates to: #79

@alejandronanez alejandronanez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @jvelezpo, thanks for your contribution!

I left some comments here, to sum up:

  • Please, roll back the changes made to the warning messages. Since React does not provide any translated messages, having them in another language different than English could confuse people.
  • Change the wording from usted to 👍

Let us know when this is ready for review again!

Thanks!

Comment thread content/warnings/dont-call-proptypes.md Outdated
Comment thread content/warnings/dont-call-proptypes.md Outdated
Comment thread content/warnings/dont-call-proptypes.md Outdated
Comment thread content/warnings/dont-call-proptypes.md Outdated
Comment thread content/warnings/dont-call-proptypes.md Outdated
Comment thread content/warnings/refs-must-have-owner.md Outdated
Comment thread content/warnings/refs-must-have-owner.md Outdated
Comment thread content/warnings/refs-must-have-owner.md Outdated
Comment thread content/warnings/refs-must-have-owner.md Outdated
Comment thread content/warnings/refs-must-have-owner.md Outdated
alejandronanez and others added 24 commits February 6, 2019 19:03
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
Co-Authored-By: jvelezpo <jvelezpo@users.noreply.github.com>
@jvelezpo

jvelezpo commented Feb 7, 2019

Copy link
Copy Markdown
Contributor Author

@alejandronanez done with the changes 👍

@alejandronanez alejandronanez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all these changes!

Merging it :shipit: !

return function validate(props, propName, componentName) {
if (props[propName] != null) {
const message = `"${propName}" propiedad de "${componentName}" ha sido desaprobado.\n${explanation}`;
const message = `"${propName}" property of "${componentName}" has been deprecated.\n${explanation}`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alejandronanez alejandronanez merged commit b713a7b into reactjs:master Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants