Skip to content

Rewrite filterProps and createStyled, fix tests#14

Merged
lttb merged 1 commit intomasterfrom
feature/optimize-performance
Apr 30, 2017
Merged

Rewrite filterProps and createStyled, fix tests#14
lttb merged 1 commit intomasterfrom
feature/optimize-performance

Conversation

@lttb
Copy link
Copy Markdown
Member

@lttb lttb commented Apr 30, 2017

No description provided.

@coveralls
Copy link
Copy Markdown

Coverage Status

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

Comment thread src/createStyled.js Outdated
const getStyledElementAttrs = (
tagNameOrStyledElement: TagNameOrStyledElementType
): StyledElementAttrsType => (typeof tagNameOrStyledElement === 'string'
? {tagName: tagNameOrStyledElement, style: {}}
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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