3 ms·
Svelte is pretty pleasant, compared to React. It's fundamentally a JS-to-JS compiler that adds reactive assignments, and ridiculously much more usable than useE
by yencabulator 4y ago
Svelte is pretty pleasant, compared to React. It's fundamentally a JS-to-JS compiler that adds reactive assignments, and ridiculously much more usable than useEffectHopeThisWasTheRightThing.
let count = 1;
// this is reactive
$: doubled = count * 2;
function handleClick() {
count += 1;
}