Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More warnings #81

Merged
merged 27 commits into from Feb 7, 2019
Merged

More warnings #81

merged 27 commits into from Feb 7, 2019

Conversation

jvelezpo
Copy link
Contributor

@jvelezpo jvelezpo commented Feb 5, 2019

Warnings

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

Relates to: #79

Copy link
Member

@alejandronanez alejandronanez left a comment

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!

content/warnings/dont-call-proptypes.md Outdated Show resolved Hide resolved
content/warnings/dont-call-proptypes.md Outdated Show resolved Hide resolved
content/warnings/dont-call-proptypes.md Outdated Show resolved Hide resolved
content/warnings/dont-call-proptypes.md Outdated Show resolved Hide resolved
content/warnings/dont-call-proptypes.md Outdated Show resolved Hide resolved
content/warnings/refs-must-have-owner.md Outdated Show resolved Hide resolved
content/warnings/refs-must-have-owner.md Outdated Show resolved Hide resolved
content/warnings/refs-must-have-owner.md Outdated Show resolved Hide resolved
content/warnings/refs-must-have-owner.md Outdated Show resolved Hide resolved
content/warnings/refs-must-have-owner.md Outdated Show resolved Hide resolved
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
Copy link
Contributor Author

jvelezpo commented Feb 7, 2019

@alejandronanez done with the changes 👍

Copy link
Member

@alejandronanez alejandronanez left a comment

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: !


```javascript
export default function deprecated(propType, explanation) {
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
Member

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants