Understanding Svelte (vs React)

  Рет қаралды 30,314

Kodaps Academy

Kodaps Academy

Жыл бұрын

Svelte's approach to framework development brings a paradigm shift to the table, with a compiler pass that produces a faster, thinner output. This video takes a look at what that means.

Пікірлер: 68
@SendInTheCriton
@SendInTheCriton Жыл бұрын
Just have to say it. Your presentation style is off the charts. Your calming voice is almost ASMR to me. The content is also very well structured. I am looking forward to seeing more of your work. :)
@DesignDensity
@DesignDensity Жыл бұрын
Same 🤓
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Wow, thank you! :)
@dario2466
@dario2466 Жыл бұрын
That ethereal soundscape in the background is hooking into your brainwaves. And the sound FX together with the keywords.
@LemonSensei
@LemonSensei 7 ай бұрын
Came across here, totally agree with that.
@jizhang2407
@jizhang2407 8 ай бұрын
I don't know much about React, nothing about Svelte, but I think I understand what you explained in the video: the relationship of dependencies as defined by the "=" sign. Thanks.
@NicoHeinrich
@NicoHeinrich Жыл бұрын
This video is a piece of art! Thanks for all the effort!
@NotGeri
@NotGeri 11 ай бұрын
This is a completely new style of video to me. Very interesting stuff, thank you!
@KodapsAcademy
@KodapsAcademy 10 ай бұрын
Glad you enjoyed it :)
@--Arthur
@--Arthur Жыл бұрын
With my 2 years of experience, the biggest downside is the overlooking of reactivity. When does something react - and how does that impact performance. This is especially true as an application grows.
@josk8936
@josk8936 Жыл бұрын
Now we know it!
@OneBrighDay
@OneBrighDay Жыл бұрын
I just started Svelte and I am still struggling with this because it changes the way I think about projects. The base way I think about solving a problem doesn’t work the same with Svelte. But I am very excited about the possibilities Svelte specifically Sveltekit does seem like magic.
@rahadurrahman9044
@rahadurrahman9044 11 ай бұрын
Wonderful explanation. Love the way you present the video.
@arvi8843
@arvi8843 Жыл бұрын
I thank YT algorithms that I stumbled upon this video and your channel. What a great explanation. You made it easy for me to understand Svelte and how it's different with React. I originally wanted to try SolidJS but the library I needed for my experimentation only supports vue, react, svelte, and angular. Thank you so much! 🙌
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I’m very glad to have been helpful to you :)
@developedbythet
@developedbythet 9 ай бұрын
Impressed by your presentation: camera angels, lightings and editing. You got a new sub.
@KodapsAcademy
@KodapsAcademy 9 ай бұрын
Thanks, and welcome abord :)
@simransingh1507
@simransingh1507 Жыл бұрын
The way you demonstrate Svelte is MAGICAL! #impressive
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Thanks, glad you liked it :)
@exapsy
@exapsy Жыл бұрын
Im new to svelte (not react and nodejs though). But this video made it perfectly understandable. Although tbh I want to learn even more about the behind the scenes and the caveats.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Glad I was able to help :)
@AmodeusR
@AmodeusR Жыл бұрын
Those sound effects are pretty neat. Makes quite an imerssion and brings a suspense vibe haha
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Glad you like them :)
@udaykumar07
@udaykumar07 11 ай бұрын
Amazing. Loved the way you are representing stuff.. hoping to get more in line. subscribed :)
@KodapsAcademy
@KodapsAcademy 10 ай бұрын
Hey, thanks, and welcome aboard :)
@figloalds
@figloalds 3 ай бұрын
i've been working with svelte for over a year now and to me it feels more Javascript-y than React, it feels like JavaScript with an automatic binding, which is exactly what I need of my UI framework. Svelte 5 to me is like "Finally, web done right" and I can't wait for it to be production ready
@engageintellect
@engageintellect Жыл бұрын
Simply brilliant. Subscribed.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Thanks, and welcome on board :)
@artyomnomnom
@artyomnomnom 10 ай бұрын
I‘m shipping production applications with Svelt for almost 4 years now, and I have to say I can‘t imagine using anything else for front-end development. Svelte does not litter my head with some unattainable "philosophy" or a way of "thinking in this very popular library", it simply gives me an intuitive way for solving day-to-day tasks and saves me from wasting my time on the adoption of already existing web solution for a fancy Virtual DOM-powered library. I sincerely recommend all give it a try and start spending your time on solving business problems rather than boiling your head with a proper way of writing CSS in a goofy JSX.
@jwoods9659
@jwoods9659 10 ай бұрын
No jobs yet though :(
@jkf16m96
@jkf16m96 10 ай бұрын
​@@jwoods9659it's okay to learn, to try to make a svelte inside react. Or just to have equivalents on react. In react I prefer to use zustand
@xxXAsuraXxx
@xxXAsuraXxx 9 ай бұрын
HTMX is on the way to remove js framework
@Newascap
@Newascap 11 ай бұрын
as a backend developer, I understood mostly nothing, but I love your accent!
@KodapsAcademy
@KodapsAcademy 11 ай бұрын
I don’t know whether to hope that it was the subject matter or my accent that prevented you from understanding :D
@i_dont_likevodka3062
@i_dont_likevodka3062 4 ай бұрын
Thank for such an interesting video! Could you please share articles/videos that are really worth reading/watching and elped you to understand how Svelte works?
@riccarrasquilla379
@riccarrasquilla379 7 ай бұрын
thanks for the explanation
@kaibe5241
@kaibe5241 11 ай бұрын
Great video, but why is your video camera focused so low? lol Really well presented.
@Jonathan_AR
@Jonathan_AR Жыл бұрын
my friend, what do you think of Django and Flask for the backend?
@KodapsAcademy
@KodapsAcademy Жыл бұрын
To me Python is a general purpose language that’s particularly well suited to data / ML. But it would not be my first choice for the backend. It’s not necessarily a bad choice, so if you’re mostly familiar with Python go ahead with Flask or Django. (Flask is more barebones and Django more fully fledged )
@TerriTerriHotSauce
@TerriTerriHotSauce Жыл бұрын
@@KodapsAcademy You mean "Django more fully featured"
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Yes, sorry I was in the subway. Django has more features
@cat-.-
@cat-.- Жыл бұрын
This 5 minute relaxing video > 30 minutes sweaty squinting at the docs
@mrabln7888
@mrabln7888 Жыл бұрын
Next vdo => sveltekit. Please
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Dunno about it being the next one, but it is in the works :)
@Damienxx
@Damienxx 2 ай бұрын
Thank you.
@chetandhongade6464
@chetandhongade6464 Жыл бұрын
Subscribed....just in few minutes of watching video...i get absorb in
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Thanks, and welcome aboard :)
@matthewdev
@matthewdev 11 ай бұрын
I think this "out of order execution" feature (for the lack of a better term) could get quite confusing on larger codebases
@farrellaultman6580
@farrellaultman6580 10 ай бұрын
Code size isn't really a factor if one creates components correctly. Same for CSS.
@j946atFIVEFOUR88AA
@j946atFIVEFOUR88AA Жыл бұрын
i kinda regret finding out about and building in svelte, it has made react such a pain for me 😂
@sirajmussafirr147
@sirajmussafirr147 Жыл бұрын
Power implies greater responsibility Rich and Svelte team are superheroes 🦸‍♂️ 🦸‍♀️
@laughingvampire7555
@laughingvampire7555 11 ай бұрын
this reminds me of the data binding frameworks before of React that created a mess that React solved.
@oleh1
@oleh1 11 ай бұрын
Could you please elaborate? What were the frameworks and what mess did react solve?
@zorgius
@zorgius Жыл бұрын
subbed
@kuhaniresti
@kuhaniresti 9 ай бұрын
love the background music 😅
@KodapsAcademy
@KodapsAcademy 9 ай бұрын
Thanks :)
@esdev
@esdev Жыл бұрын
Background music is like horror movie!
@supernovaw39
@supernovaw39 Жыл бұрын
lol
@XEQUTE
@XEQUTE 10 ай бұрын
strange editing and kinda hypotinzing asmr gaze like video but the content is great!
@KodapsAcademy
@KodapsAcademy 9 ай бұрын
Thanks (I think :D)
@complexity5545
@complexity5545 10 ай бұрын
So svelte basically breaks up all the scopes and puts them into one big global like scope. And when a name gets referenced||called, svelte grabs the last defined variable with that source code name. So that's how he got GUI and html front-ends to go fast. But it seems like a nightmare if you go into a project trying to do logic that requires scoping. I guess Rich Harris hates the recursive like stack FIFO rollback that javascript has. This was very informative. I was trying to find out why all the new kids are using svelte; its basically "jquery with global scoping".
@KodapsAcademy
@KodapsAcademy 10 ай бұрын
"when a name gets referenced||called, svelte grabs the last defined variable" I will need to experiment more but I don't think there is any scope breaking going on per se, the same effect can be achieved without breaking scope, e.g. by using functions or event listeners. The important thing to keep in mind is that Svelte does most of the work at compile time, so it adds in additional code to what looks like vanilla JS (but isn't).
@FabianD1991
@FabianD1991 Жыл бұрын
No creen que asi debe ser la reactividad?. La forma en que React trabja de fondo es nefasta.
@temanor
@temanor Жыл бұрын
This man makes the most normal sentences sound super dramatic with this editing. Unnecessarily distracting.
@patricknelson
@patricknelson Жыл бұрын
I feel like I just went to web developer church and had a life changing revelation. 🥹
Svelte Tutorial 2023 - Lerne die Basics von Svelte in 50 Minuten
52:44
Coding Crashkurse
Рет қаралды 8 М.
Let's Make A Todo App Using Svelte 5 Runes
26:55
Joy of Code
Рет қаралды 22 М.
When someone reclines their seat ✈️
00:21
Adam W
Рет қаралды 19 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 36 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 12 МЛН
Why learn LUA?
6:24
Kodaps Academy
Рет қаралды 4,5 М.
HTMX, the anti JS framework (vs React)
7:17
Kodaps Academy
Рет қаралды 63 М.
Svelte 5 Preview | Runes
12:40
ThePrimeTime
Рет қаралды 73 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis - Tech
Рет қаралды 8 М.
Go vs Rust: Which To Learn In 2024?
6:27
Kodaps Academy
Рет қаралды 134 М.
DjangoCon US 2023: Don't Buy the "A.I." Hype
26:09
Tim Allen
Рет қаралды 11 М.
Svelte 5 is a beast, but is it worth switching?
37:55
Syntax
Рет қаралды 19 М.
I Tried Every Svelte UI Library
20:57
Joy of Code
Рет қаралды 39 М.
Svelte Is Good For Beginners
9:28
ThePrimeTime
Рет қаралды 71 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 265 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 55 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11