Get started with omi CDN
MIT licensed
Omi: Lightweight JS library for dynamic UIs, with virtual DOM and component architecture.
Tags:- omi
- webcomponents
- jsx
- proxy
- preact
- react
- virtual dom
- vdom
- components
- virtual
- dom
Stable version
Copied!
How to start using omi CDN
// Include OMI library from the CDN
const OMI = require('omi/omi.umd.js');
// Define a component called 'HelloWorld'
class HelloWorld extends OMI.Component {
render() {
return (
<div class="hello-world">
<h1 ref="title">Hello, World!</h1>
</div>
);
}
}
// Mount the component to an element with id 'app'
OMI.mount(document.getElementById('app'), HelloWorld);
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
6.17.1
6.17.2
6.17.3
6.17.4
6.18.0
6.18.1
6.19.0
6.19.1
6.19.10
6.19.11
6.19.12
6.19.13
6.19.14
6.19.15
6.19.16
6.19.17
6.19.18
6.19.19
6.19.2
6.19.20
6.19.21
6.19.22
6.19.23
6.19.24
6.19.25
6.19.26
6.19.27
6.19.3
6.19.4
6.19.5
6.19.6
6.19.7
6.19.8
6.19.9
6.20.0
6.20.1
6.21.0
6.21.1
6.21.2
6.21.3
6.22.0
6.22.1
6.22.2
6.23.0
6.23.1
6.23.2
6.24.0
6.25.0
6.25.1
6.25.10
6.25.11
6.25.12
6.25.13
6.25.14
6.25.15
6.25.16
6.25.17
6.25.18
6.25.19
6.25.2
6.25.20
6.25.21
6.25.22
6.25.23
6.25.3
6.25.4
6.25.5
6.25.6
6.25.7
6.25.8
6.25.9
7.0.0
7.0.0-alpha0
7.0.0-alpha1
7.0.0-alpha2
7.0.0-beta0
7.0.0-beta1
7.0.0-beta2
7.0.0-rc0
7.0.0-rc1
7.0.0-rc2
7.0.0-rc3
7.0.0-rc4
7.1.0
7.1.1
7.1.10
7.1.11
7.1.12
7.1.13
7.1.14
7.1.2
7.1.3
7.1.4
7.1.5
7.1.6
7.1.7
7.1.8
7.1.9
7.2.0
7.2.1
7.3.0
7.3.1
7.3.10
7.3.2
7.3.3
7.3.4
7.3.5
7.3.6
7.3.7
7.3.8
7.3.9
7.4.0
7.4.1
7.4.2
7.4.3
7.4.4
7.4.5
7.4.6
7.5.0
7.5.1
7.5.10
7.5.2
7.5.3
7.5.4
7.5.5
7.5.6
7.5.7
7.5.8
7.5.9
7.6.0
7.6.1
7.6.10
7.6.11
7.6.12
7.6.13
7.6.14
7.6.15
7.6.16
*** 7.6.17
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6
7.6.7
7.6.8
7.6.9