-
Notifications
You must be signed in to change notification settings - Fork 47.6k
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
Remove vars #11780
Remove vars #11780
Conversation
@@ -887,10 +903,10 @@ export function diffHydratedProperties( | |||
assertValidProps(tag, rawProps, getStack); | |||
|
|||
if (__DEV__) { | |||
var extraAttributeNames: Set<string> = new Set(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this extracted to top level? Looks like a local variable to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, you right @gaearon. Updated
f246f51
to
1633922
Compare
If this is the last one , should we consider lint config as a follow up? |
We could but it’s not clear to me how this should work. Ideally we want to lint ES5 and ES6 code differently depending on the directory. Happy to discuss in a separate issue if you create one. |
That doesn't really matter. I'm fine leaving them as is for now. |
Ref: #11766 #11752 #11776
3/3 Last one @gaearon 👍
No more![:octocat: :octocat:](https://assets.fantasygmm.top/images/icons/emoji/octocat.png)
vars
onpackages
source code