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

Wrong mention of using Objects as a class #126

Closed
gargsms opened this issue May 9, 2017 · 1 comment
Closed

Wrong mention of using Objects as a class #126

gargsms opened this issue May 9, 2017 · 1 comment

Comments

@gargsms
Copy link

gargsms commented May 9, 2017

https://preactjs.com/guide/differences-to-react mentions that an Object can be used as a class for an element and it will use the truthy keys to form the class name. This was dropped in preact v8. preactjs/preact#401

The website is mentioning it wrong.

@developit
Copy link
Member

Fixed thanks for @vitormalencar :)

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

No branches or pull requests

2 participants