-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[TimePicker] Remove style-propable mixin #3188
Conversation
inner: this.isInner(nextProps.value), | ||
muiTheme: newMuiTheme, | ||
inner: isInner(nextProps), | ||
muiTheme: nextContext.muiTheme ? nextContext.muiTheme : this.state.muiTheme, |
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.
nextContext.muiTheme || this.state.muiTheme
?
But that's a minor point.
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.
True, I like that more. I'll switch to that since I'm going through.
@newoga That loos good 👍. |
7513a4c
to
0e2b22f
Compare
Mm, not sure why this build failed. Timing issue maybe, I ran the tests locally again newoga@0e2b22f and can't reproduce the fail. |
I've seen that on another PR. Make a trivial change and push to force a re-run. Or we just ignore the error. |
Interesting, okay thanks @mbrookes! |
0e2b22f
to
d5c8481
Compare
Done, switch the |
Also, those with push access to the repository can login to the travis-ci (with their github account) and manually restart the build. It's cleaner and faster. |
@@ -64,7 +64,7 @@ const ClockNumber = React.createClass({ | |||
pos = pos / 5; | |||
} | |||
|
|||
let positions = [ | |||
const positions = [ |
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.
any reason why these are instantiating with each render? I don't see any.
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.
Wow, indeed 😨.
This is some hard work 👍 👍 Although I'm ok with merging this as it is. we'll probably change the way we calculate the styles soon after we figure out how we should implement memoization. |
I agree, let's do one thing at the time. |
[TimePicker] Remove style-propable mixin
🎉 🎈 🎉 awesome work @newoga 👍 |
Thanks guys! 🎉 |
No description provided.