3 ms·
excuse me if i'm wrong, but isn't it just a snippet for react.createElement?
by wetpaws 8y ago
excuse me if i'm wrong, but isn't it just a snippet for react.createElement?
- aylmao 8y agoreact-hyperscript seems to also parse class names ('div.example'), ids ('h1#heading') and come with other goodies. Looks pretty interesting, and I appreciate they doing away with the need of a pre-processor ¯\_(ツ)_/¯
- wetpaws 8y agoI looked through the code and it's about 40 lines long. I don't mind of people using small libraries like this, but it's a bit fun to see it presented as some kind of revelation :)