Why Svelte is BETTER Than React | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Рекомендации по теме
Комментарии
Автор

I'm so happy Svelte came out when it did. As someone who finds myself leaning more toward the backend, I love how I can still make decent front ends with svelte without much fuss.

happyaccidents
Автор

When you are so used to complexity simplicity feels like it's a lie, like it's magic. Whenever I hear people say they'll use React over Svelte they say Svelte is just too much magic and React is just JS. But the truth is all of these frameworks are doing some magical stuff under the hood that is irrelevant to building products. Maybe with React you need to know how it works under the hood because there's just a lot of foot guns but that's a non-issue most of the time. You can do well just knowing how to build stuff with React without necessarily understanding how it works under the hood. The other day I read a comment on Twitter where someone argued that they don't like Svelte because you can't write hooks in it. Why would you need to write hooks in Svelte? You can (since they are just functions that start with "use" basically). But why? Svelte is not React. Some people seem to fail to understand that. What would be the point of creating another framework that does what React already does? Svelte is Svelte and there's the Svelte way of doing things. Don't know why someone would expect React stuff in Svelte. This whole "the downside of Svelte is it's not React, nor does it work like React" thing needs to stop.

nyashachiroro
Автор

React devs wake up everyday and choose complexity

Wzymedia
Автор

Svelte is awesome. I managed to convince our company to use it for a couple of SPA projects.
Prototyping is super fast. The Builds integrate well with our existing system and our designer does not even need to learn anything new since we can just take the mockup pages she builds us and throw them into some components. With a few exceptions, everything is just vanilla HTML/JS/CSS . 😍

My personal favorite is the svelte/transitions. They make navigation so much clearer and all it takes is a"transition:[style]" attribute on whatever tag, you are removing are adding.

AScribblingTurtle
Автор

The world is simply not ready for this masterpiece called Svelte

hyscript
Автор

I have to admit I’m surprised on how many people seem to be against Svelte. I’m not saying stake your professional life on it but for all intents and purposes it feels amazing to work with.

OneBrighDay
Автор

React winning makes as much sense as Java winning. They're not the best but they arrived early and enterprises don't want to migrate.

paypalmymoneydfs
Автор

Svelte and Vue 3 are in fact very similar!
🎨 They both have a <style></style> block for styling the component
➡ Vue 3 also has a State Management baked right into the framework 😄under one single API ref()

Which works exactly the same as solid/store and svelte/store

icarusgk
Автор

I’ve been doing mostly front-for 20+ years now and Svelte is the only one that just clicked right out of the box.

summerWTFE
Автор

this is too well-timed with theo's last video

raenastra
Автор

Currently doing React project and I think its time for it die off. Syntax / patterns are pure nonsense at times.

daedalus
Автор

Frontend development is hard because it involves a lot more art than other parts of a programming. The general public feels like they're experts in how things are supposed to work and front end devs have to deal with those expectations. Imagine that "this sucks, let me build a better one line" except it's not just from devs, but everyone that touches a device.

likwidsage
Автор

With CSS i've learned to put a box around every single html element. Then when I'm done, i remove all the borders. It's the only way to actually know what your front end is doing. Once you've got the picture frame set up, you can make it look pretty.

MichelleHell
Автор

Svelte(no kit) + Go(serving svelte using static) + SQLC + Postgres
LOVE

deado
Автор

I feel bad for all the developers that know React sucks but still have to face it everyday at work.
I use Vue btw.

raizdesamauma
Автор

I started with Vuejs and then went to react. I have the same arguments for why i chose Vue over react for personal projects
React made me love Vue even more.

dermachedjamel
Автор

I absolutely agree with him on grid. It works well until you need to style it. Whenever I need to do design table. I rather create flex components with fixed width and length and some scroll overflow property.

sathishkannan
Автор

Looks like Theo's take on anything not crappy react with nested ternaries.

mvargasmoran
Автор

I took about 3 to 5 react courses on udemy/youtube and still don't understand how react works. Then I found svelte and tried to code along with youtube tutorial and it just clicked. I love its straightforward and direct approach to front end dev.

superwin
Автор

I never used a table/grid library my whole life and i've managed to ship enterprise products featuring pagination/ordering/cool styling just with plain old table, css and some js :)

Lemmy