-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Select warning fires repeatedly #11795
Comments
We should deduplicate this warning (like we do with many other warnings). |
Yep. Sounds good! |
Hi Dan, I wanted to check with you that I am on the right track before I try writing any code. So here is the warning: react/packages/react-dom/src/client/ReactDOMFiberOption.js Lines 36 to 45 in d9869a4
I'm not sure if I should be writing a test in: And I don't see a test that already tests for this warning - am I missing something? Or should I write a entirely new test in one of those files? I haven't worked with the test suite before so I'm not sure how its supposed to be organized. |
I don't think it matters which file you write it in. To verify if there are any existing tests, you can just comment out the warning and run |
Thanks! |
Wow that was incredibly fast - great work ❤️ |
@arackaf No problem, but I couldn't have done it without Dan's super fast support (I swear he is not human answering all our tweets and github comments instantly) 😜 |
OMG, Dan has no weekend! |
It’s really cold outside and I’m too bored :-) I’ll go do something else now. |
Lol no Dan don't leave us! 😰 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
See fiddle https://jsfiddle.net/j2nzg31L/1/
The warning related to the select fires repeatedly. @gaearon tells me it should dedupe, and that this is a bug.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template for React 16: https://jsfiddle.net/Luktwrdm/, template for React 15: https://jsfiddle.net/hmbg7e9w/).
See above
What is the expected behavior?
See above
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.2
The text was updated successfully, but these errors were encountered: