2 ms·
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
by wg0 2y 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?
- shadowgovt 2y agoMostly 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.