3 ms·
TL;DR: It feels like React interacts the reverse of how I think, but Svelte feels like it promises some of the straight-forwardness I used to know 25 years ago.
by sethammons 3y ago
TL;DR: It feels like React interacts the reverse of how I think, but Svelte feels like it promises some of the straight-forwardness I used to know 25 years ago.
As a backend person who last touched the frontend when jQuery was all the rage, I spent the last two weekends starting to get familiar with React and then Svelte. I really, really like what I've seen in Svelte so far. It makes sense. I can reason about what components talk to which other components and how, more easily than in React. After 8 hours of a React tutorial (which had several incompatibilities from the version in which the tutorial was written that I had to reason through), and after going through the Svelte tutorial for maybe half that at learn.svelte.dev, I came away feeling confident I can build a site in Svelte and not entirely sure what that would look like in React. I had to start looking at other projects in React to understand how I should organize my secure part of my site vs my public parts. It is clear in Svelte, for instance, where I can enable server side rendering on my more marketing / landing focused pages and how to group pages via the directory structure that require authentication.