# Basic Examples

# Hello world

<p>Hello world</p>

<script>

</script>

# Variable binding

<p>{{ text }}</p>

<script>
let text = 'Hello world';
</script>

# Variable update

<p>{{ text }}</p>
<button $click="onButtonClick">Change text</button>

<script>
let text = 'Hello world';

const onButtonClick = () => {
    text = 'Hello another world';
}
</script>