Skip to content
On this page

Counter Example

Vue Lim

Vue Counter Show compile output
vue
<script setup lim>
let count = 0;
</script>
<template>
  <button @click="count++">count is {{ count }}</button>
</template>

React Lim

React Counter Show compile output
jsx
function App () {
    let count = 1;
    const increase = () => count ++;
    return <button onClick={increase}>
        count is {count}
    </button>;
}

LimF 2022-present