Skip to content

Update React - #853

Merged
niik merged 5 commits into
masterfrom
update-react
Jan 30, 2017
Merged

niik merged 5 commits into
masterfrom
update-react

Conversation

@joshaber

Copy link
Copy Markdown
Contributor

As of TS 2.1.5, Component.setState is now properly typed to be a subset of State 🤘

I didn't go back through all our existing code to update usages, but we should use this going forward.

@joshaber joshaber changed the title Update react Update React Jan 26, 2017
@niik niik self-assigned this Jan 30, 2017
Comment thread app/src/ui/ui-view.tsx Outdated

public render() {
const needDefaultClass = this.props.className !== uiViewClassName
const className = classNames(this.props.className, { [`${uiViewClassName}`]: needDefaultClass })

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor Author

📴

@niik
niik merged commit eb9ee41 into master Jan 30, 2017
@niik
niik deleted the update-react branch January 30, 2017 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants