2.5.5 • Published 9 months ago

@lukekaalim/act-web v2.5.5

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

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

9 months ago

2.4.0

9 months ago

2.5.2

9 months ago

2.5.1

9 months ago

2.5.4

9 months ago

2.5.3

9 months ago

2.5.5

9 months ago

2.3.0

1 year ago

2.2.2

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

1.4.0

2 years ago

2.0.1

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.1

2 years ago

1.0.0

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.6

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago