1.0.9 • Published 6 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
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0-rc.5
6 years ago
1.0.0-rc.4
6 years ago
1.0.0-rc.2
6 years ago
1.0.0-rc.1
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago