Re:Crank.js – Write JSX-driven components with functions, pr...
by thebradbain on Saturday April 18, 2020 @01:17PM
(#22909224)
You’re right it’s not a pure example, but this quote from its website is what makes me differentiate from React/Vue:
> So we took a step back and asked ourselves what kind of API would work for us... and realised that the best API is no API at all. We can just use the language. Updating some count value — and all the things that depend on it — should be as simple as `count += 1` over `count.setState(count + 1)`
Really weird to ascribe that to Svelte, given that it has its own compiler that introduces non-Javascript syntax...