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

Simplify wording of key warning #14503

Merged
merged 1 commit into from
Jan 7, 2019
Merged

Conversation

sophiebits
Copy link
Collaborator

I don't think "array or iterator" is adding anything, and it may well be confusing, especially since this is one of the first and most common warnings that devs see.

I don't think "array or iterator" is adding anything, and it may well be confusing, especially since this is one of the first and most common warnings that devs see.
@TryingToImprove
Copy link
Contributor

I am not a fan of this change. Since there are no "lists" in javascript.

Searching for "JavaScript list" on Google will not provide the same results as "JavaScript iterator" or array.

@gaearon
Copy link
Collaborator

gaearon commented Dec 29, 2018

If we change this here's our chance to also clarify "unique" only applies to siblings and not globally.

@sophiebits
Copy link
Collaborator Author

Hmm I kinda liked the simplicity.

Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

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

I like the change of "an array or iterator" to "a list" 👍

I don't have a strong feeling about Dan's follow up suggestion.

Copy link
Contributor

@Kachulio1 Kachulio1 left a comment

Choose a reason for hiding this comment

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

I think @gaearon is right

@sophiebits sophiebits merged commit 547e059 into facebook:master Jan 7, 2019
jetoneza pushed a commit to jetoneza/react that referenced this pull request Jan 23, 2019
I don't think "array or iterator" is adding anything, and it may well be confusing, especially since this is one of the first and most common warnings that devs see.
n8schloss pushed a commit to n8schloss/react that referenced this pull request Jan 31, 2019
I don't think "array or iterator" is adding anything, and it may well be confusing, especially since this is one of the first and most common warnings that devs see.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants