Files
ss-tools/frontend/src/lib/Counter.svelte
busya 274510fc38 refactor(semantics): migrate legacy @TIER to @COMPLEXITY annotations
- Replaced @TIER: TRIVIAL with @COMPLEXITY: 1
- Replaced @TIER: STANDARD with @COMPLEXITY: 3
- Replaced @TIER: CRITICAL with @COMPLEXITY: 5
- Manually elevated specific critical/complex components to levels 2 and 4
- Ignored legacy, specs, and node_modules directories
- Updated generated semantic map
2026-03-16 10:06:44 +03:00

18 lines
294 B
Svelte
Executable File

<!-- [DEF:Counter:Component] -->
<!--
@COMPLEXITY: 1
@PURPOSE: Simple counter demo component
@LAYER: UI
-->
<script>
let count = $state(0);
const increment = () => {
count += 1;
};
</script>
<button onclick={increment}>
count is {count}
</button>
<!-- [/DEF:Counter:Component] -->