1.0.9 • Published 7 years ago
@framejs/renderer-preact v1.0.9
@framejs/renderer-preact
FrameJS rendererer for Preact.
Install
$ npm install @framejs/core @framejs/renderer-preact
Usage
import { CustomElement } from '@framejs/core';
import { withPreact, h } from '@framejs/renderer-preact';
@CustomElement({
tag: 'my-element'
})
class MyElement extends withPreact(HTMLElement) {
@Attribute() checked = true;
render() {
return <div>Am i checked? {this.checked ? 'Yup' : 'Nope'}</div>
}
}
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0-rc.5
7 years ago
1.0.0-rc.4
7 years ago
1.0.0-rc.2
7 years ago
1.0.0-rc.1
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago