Warning about unknown property happened when creating element#6345
Closed
Sumei1009 wants to merge 3 commits intofacebook:masterfrom
Closed
Warning about unknown property happened when creating element#6345Sumei1009 wants to merge 3 commits intofacebook:masterfrom
Sumei1009 wants to merge 3 commits intofacebook:masterfrom
Conversation
| }, | ||
| }; | ||
|
|
||
| ReactDOMDebugTool.addDevtool(ReactDOMUnknownPropertyDevtool); |
Contributor
There was a problem hiding this comment.
Why are you removing the devtool? This appears to be going in the wrong/opposite direction.
| null | ||
| ); | ||
|
|
||
| warning( |
Collaborator
There was a problem hiding this comment.
I think we want to use the “devtool” API for the new warnings. You can check how ReactDOMUnknownPropertyDevtool currently works for the context—it just needs to be called during the element creation.
…during property operation
Author
|
I modified some method so that ReactDOMUnknownPropertyDevtool would be called on element creation. Is it the right way? |
Contributor
|
@Sumei1009 updated the pull request. |
This was referenced Apr 11, 2016
Collaborator
|
Can you please rebase so it merges cleanly, and fix the lint issues? You can run |
Contributor
|
Ping @Sumei1009 |
Sumei1009
pushed a commit
to Sumei1009/react
that referenced
this pull request
Apr 14, 2016
Sumei1009
pushed a commit
to Sumei1009/react
that referenced
this pull request
Apr 14, 2016
Sumei1009
pushed a commit
to Sumei1009/react
that referenced
this pull request
Apr 14, 2016
Sumei1009
pushed a commit
to Sumei1009/react
that referenced
this pull request
Apr 14, 2016
Sumei1009
pushed a commit
to Sumei1009/react
that referenced
this pull request
Apr 14, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #2887