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

Rewrite filterProps and createStyled, fix tests #14

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

lttb
Copy link
Member

@lttb lttb commented Apr 30, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.8%) to 92.308% when pulling e00cee5 on feature/optimize-performance into ad7bcb4 on master.

const getStyledElementAttrs = (
tagNameOrStyledElement: TagNameOrStyledElementType
): StyledElementAttrsType => (typeof tagNameOrStyledElement === 'string'
? {tagName: tagNameOrStyledElement, style: {}}
Copy link
Member

Choose a reason for hiding this comment

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

we should avoid multiline ternaries, they are hard to read

Copy link
Member

Choose a reason for hiding this comment

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

doesn't jss linter shows an error in this case?

@lttb lttb force-pushed the feature/optimize-performance branch from e00cee5 to e81fb39 Compare April 30, 2017 07:16
@coveralls
Copy link

Coverage Status

Coverage increased (+1.8%) to 92.308% when pulling e81fb39 on feature/optimize-performance into ad7bcb4 on master.

@lttb lttb force-pushed the feature/optimize-performance branch from e81fb39 to f74298d Compare April 30, 2017 07:47
@coveralls
Copy link

Coverage Status

Coverage increased (+2.08%) to 92.553% when pulling f74298d on feature/optimize-performance into ad7bcb4 on master.

@lttb lttb merged commit 1ac2e22 into master Apr 30, 2017
@lttb lttb deleted the feature/optimize-performance branch May 9, 2017 16:28
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.

3 participants