News for hackers. Stuff that matters.
Re:Crank.js – Write JSX-driven components with functions, pr... by Vinnl on Saturday April 18, 2020 @10:24AM (#22907957)
> Fully on board with this newer trend (Svelte also comes to mind) of using only native JavaScript language features to accomplish what other frameworks do using abstractions.

Really weird to ascribe that to Svelte, given that it has its own compiler that introduces non-Javascript syntax...

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)`