2.5.5 • Published 2 years ago
@lukekaalim/act-web v2.5.5
Act-Web
The web renderer for Act, turning components into HTML or SVG elements.
⚠️ Warning: This library is designed as an experiment, and should not be used for production.
⚠️ Warning: This library is only available as an ESM.
API
render
(root: Element, htmlRoot: HTMLElement) => void
Starts the rendering of a root Act element, under a htmlRoot parent. You can create Act elements from the @lukekaalim/act
's createElement
function.
import { h } from '@lukekaalim/act';
import { render } from '@lukekaalim/act-web';
const App = () => [
h('h1', {}, 'Hello, World!'),
h('p', {}, 'Welcome to my first webpage!'),
];
render(h(App), document.body);
2.5.0
2 years ago
2.4.0
2 years ago
2.5.2
2 years ago
2.5.1
2 years ago
2.5.4
2 years ago
2.5.3
2 years ago
2.5.5
2 years ago
2.3.0
2 years ago
2.2.2
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.1.0
2 years ago
1.4.0
3 years ago
2.0.1
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.0
3 years ago
1.1.0
4 years ago
1.2.1
3 years ago
1.0.0
4 years ago
0.4.5
4 years ago
0.4.4
4 years ago
0.4.6
4 years ago
0.4.3
4 years ago
0.4.2
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.2.0
4 years ago