React VS Svelte...10 Examples

preview_player
Показать описание


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

Thanks, now I can put Svelte on my resume.

Xe
Автор

You can pass components as props in Svelte and render them using <svelte:component /> special element.

ayndqy
Автор

I consider myself a React developer, but seeing these comparisons makes me understand why Svelte is so awesome!

pesterenan
Автор

I've rewritten a side project from React to Svelte and loved that I had code that was easier to maintain, read, and write really quickly. My bundle size was really tiny too even though I actually added more functionality than what I had in React.

Simply blown away by how good Svelte actually is by comparison

baka_baca
Автор

I actually tried learning react a few years back and it was complicated that i just gave up.
Late last year i tried svelte and sveltekit. It was so easy and made so much sense with file based navigation and svelte is just like writing html and when you need dynamic value or reactive components. You can just use curly braces and write javascript. Great video 👍

AnirudhIsOnline
Автор

Svelte literally saved my web development passion. <3

asatorftw
Автор

I'm a (late) gen z web developer. Svelte & Kit were my first frameworks, and "enlightening" some of my friends that have only ever used raw php and jquery is incredible

lwinklly
Автор

I used Svelte at a hackathon a year ago. I was able to produce a pretty stellar looking app using purely my knowledge of React and Angular. It's really impressive how well it works. My only gripe is that it is a little bit weird to wrap your head around at first if you're a hardcore React dev. This video is an excellent side by side comparison

Martiansfromthemoon
Автор

React does have a far bigger ecosystem, but a lot of those libraries are "<something>-react", to make an arbitrary library _work_ with React. Svelte doesn't have these, because they're not necessary. Everything just works out of the box. However, there are some QOL packages that would be nice for Svelte, and having more choices for UI libraries wouldn't hurt either. Daisy and Skeleton are two that really come to mind, other than that you're sadly still a bit on your own.

stijndcl
Автор

I switched from react to svelte when sveltekit 1 got released last year.. my code base is much smaller, simpler, and faster. Cant recommend svelte enough.

dheerajs
Автор

I was in professional React teams for years and can confidently say that Svelte is much much better. Simpler, less boilerplate, actually enjoyable. I'll atill use React happily, but Svelte is my special happy place.

alichamas
Автор

I prefer React because it reminds me of my previous job as a java developer.

crazyravioli_
Автор

I'm actually glad you made this. Been on the edge of learning svelte and this finally convinced me! Cheers 🍻

dosomething
Автор

this is the best video i've seen so far about frameworks in general. congratulations.

rubelexia
Автор

That comparison of useEffect with onMount is wrong. In Svelte you write init code just inside the script tag since it will only execute once (unlike React components). OnMount is for when you want to trigger code right after the element is mounted to the DOM.

pierbover
Автор

Another comparison between between Next and Nuxt or Vue and React would be awesome as well.

cheese-grater
Автор

I really appreciate the effort and information you provide in each one of your videos Jeff, thanks a lot!

BRP-Moto-Tips
Автор

I came to know about Svelte from my friend. I knew React but I also knew it was a pain. I went through few official tutorials of Svelte and instantly started liking the framework. It's an awesome framework.
I even created a full stack app using Svelte in the front end.

kinershah
Автор

My career has led me from Pure JS to jQuery to Bootstrap to React to, as of recently, Svelte. I can't go back to React. It just feels so clunky in comparison. React's recent additions to the core have been disappointing and unnecessarily complicated where Svelte just works. 100% of my projects this year have been in Svelte, even at work, and I don't regret ditching React at all.

razmakaz
Автор

Hey Fireship, it could be really nice if you talk about which UI/UX library we ‘can use’/‘better fit’ which each framework, i.e. react, svelte, vue/nuxt3, angular.
This is really important, I think the most important, when building a frontend

fernandoarteaga