3.0.0 • Published 8 years ago

heact v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

heact

Wrapper for React.createElement.

h('.my-class-name', {
    someProp: 100
}, 'content');
// is the same as
React.createElement('div', {
    className: 'my-class-name',
    someProp: 100
}, 'content');

Using namespaces:

import H from 'heact';
const h = H('.namespace');
h('.my-class-name');

For further details look at tests.

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago