this post was submitted on 03 Jan 2024
5 points (100.0% liked)

JavaScript

2000 readers
1 users here now

founded 1 year ago
MODERATORS
5
submitted 10 months ago* (last edited 10 months ago) by pkill to c/javascript
 

I currently use Svelte in my main personal project but while enjoying it's relatively concise, declarative syntax, I don't really like how it's not always easy or even possible to do stuff without relying on shared state and I think that's bad. So I started looking into Elm, but it seems to require a significant portion of boilerplate and somewhat more procedural code, which surprised me, considering how Haskell is often notably more concise than C. Is there anything that is somewhat like Elm, i.e. functional, but without being overly verbose?

Edit: I'd also prefer bundle sizes no larger or marginally larger than with Svelte and decent noscript support, at least on par with Vue or HTMX.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here