∴ spræ

Microhydration for HTML/JSX tree.
<!-- Day/Night switch -->
<div :scope="{ isDark: false }">
<button :onclick="isDark = !isDark">
<span :text="isDark ? '🌙' : '☀️'"></span>
</button>
<div :class="isDark ? 'dark' : 'light'">Welcome to Spræ!</div>
</div>
<style>
.light { background: #fff; color: #000; }
.dark { background: #333; color: #fff; }
</style>
<script type="module" src="//unpkg.com/sprae"></script>Wanted alpine but with less syntax and magic, and with open state.
:text :class :style :value :<attr> :if :else :each :scope :fx :ref :hidden :portal :on<event>
.debounce .throttle .delay .once
.window .document .root .body .parent .self .away
.passive .capture .prevent .stop .<key>
start store signals config evaluator jsx build hints
alpine, petite-vue, lucia, nuejs, hmpl, unpoly, dagger