Hacker News new | ask | show | jobs
by wg0 627 days ago
React in the hook's era has gotten overly complex. The cods is unreadable and hard to reason about. Check any longer/complicated component as an example riddled with hooks.

Comparatively, Svelte has a much simpler mental model and at the end, leaves nothing but basic plain old javascript.

But I tend to question these days that do we need this much Javascript?

1 comments

Mostly for reactive rendering in response to incoming small data packets (or user supplied changes) mutating state.

I have not seen an example of how to do that using vanilla HTML and CSS without some JavaScript support. Maybe it exists and I haven't come across it.