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

Style renders as [object Object] with Preact >5.2.0-beta.0 #7

Closed
rmales opened this issue Jul 29, 2016 · 2 comments
Closed

Style renders as [object Object] with Preact >5.2.0-beta.0 #7

rmales opened this issue Jul 29, 2016 · 2 comments
Labels

Comments

@rmales
Copy link

rmales commented Jul 29, 2016

I guess it may be something to do with this Preact commit: preactjs/preact@a5b286b

With Preact 5.6.0:
http://jsfiddle.net/28ckgyzj/3/

With Preact 5.2.0-beta.0:
http://jsfiddle.net/5tzxLy7d/2/

@rmales rmales changed the title Style renders as [object Object] with Preact >5.2.0-beta.0? Style renders as [object Object] with Preact >5.2.0-beta.0 Jul 29, 2016
@developit
Copy link
Member

Good catch! I'll get this fixed ASAP. We can just use the exact style serialization that was removed Preact.

@developit
Copy link
Member

Fixed and released in preact-render-to-string@2.8.0! Thanks :)

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

No branches or pull requests

2 participants