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

Does not render multiple static styles for a single selector #56

Closed
robinweser opened this issue Jun 30, 2016 · 0 comments
Closed

Does not render multiple static styles for a single selector #56

robinweser opened this issue Jun 30, 2016 · 0 comments

Comments

@robinweser
Copy link
Owner

Version: 1.0.1
Environment: Both
Type: Bug


Description

Please try to add as much detail as possible.

Steps to reproduce

const renderer = createRenderer()

renderer.renderStatic({ color: 'red' }, 'div')
renderer.renderStatic({ fontSize: '12px' }, 'div')

Expected Behavior

Expected CSS output:

div {
  color: red
}

div {
  font-size: 12px
}

Actual Behavior

Actual CSS output:

div {
  color: red
}

Proposal

Not only use the selector as a cache reference, but the whole stringified style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant