Skip to content
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

React: More components from templates/progress #18518

Merged
merged 5 commits into from Oct 23, 2017

Conversation

islemaster
Copy link
Contributor

Four more components. These all have good storybook coverage.

}),
{setIsSummaryView}
)(class ProgressDetailToggle extends React.Component {
static propTypes = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather have the connect separate from the class TBH (i.e. at the end of the file). The syntax here seems kind of difficult to read. The pattern of having them separate also makes it easy to export a non-connected version as well as a connected version.

Copy link
Contributor

@Bjvanminnen Bjvanminnen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm modulo one comment

@islemaster islemaster merged commit 1ded8f4 into staging Oct 23, 2017
@islemaster islemaster deleted the react-es6-progress-continued branch October 23, 2017 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants