How Svelte differs from React or Vue

  Рет қаралды 9,217

OfferZen Origins

OfferZen Origins

Күн бұрын

🎥 For more tech documentaries and weekly dev stories, subscribe to be notified 👉
During the production of Svelte Origins, we asked Rich Harris, Scott Tolinski, Swyx, and Amelia Wattenberger what makes Svelte different from other popular JavaScript frameworks like React and Vue.
00:05 What makes Svelte different?
03:11 How does it differ from React and Vue?
05:08 Svelte isn't going anywhere
07:50 What makes Svelte so loved?
#Svelte #JavaScript #SvelteOrigins #PR #SvelteNews #Programming #SoftwareDevelopment #Developer #OpenSource #Technology #RichHarris
OfferZen is a developer job platform helping devs find jobs they love in positions they deserve. Want to know more about OfferZen? Check out the link below. 👇
www.offerzen.c...
Connect with OfferZen:
Article: www.offerzen.c...
Twitter: / offerzen
Instagram: / offerzen
Facebook: / offerzen
LinkedIn: / offerzen

Пікірлер: 20
@wertin200
@wertin200 Жыл бұрын
2:04 It would be interesting, to explain for newer web devs why the virtual dom at one point of time was faster and why it is now most likely slower.
@alexandrecosta2567
@alexandrecosta2567 11 ай бұрын
It was the "right" way for the longest time, because you had a separate graph of changes made to the structure. This graph could be compared with the existing DOM, and this meant that only the thing that changed was updated. This is exponentially better than refreshing the whole page, and it's similar to AJAX updates but "faster" because it doesn't travel back to the server for information. Despite all this good stuff, React still traverses the whole virtual DOM for every single update (even if it's just to increment a count), and all this work is made client-side. You can imagine this is not very efficient. Svelte fixes this problem, among others.
@dunkTheFunk
@dunkTheFunk Жыл бұрын
sveltekit and svelte are quite simply incredible. Rich should be given a knighthood
Жыл бұрын
Very great overview, Svelte/SvelteKit makes web development more easy and more productive, since you write less code, you get less bugs, and less thing to worry about
@maskman4821
@maskman4821 Жыл бұрын
Sveltekit is without doubts the No.1 meta-framework and I build everything with Sveltekit 😘🤗👍🤩😍🤓👏
@talmann
@talmann Жыл бұрын
Me too
@djpunisha29
@djpunisha29 Жыл бұрын
stupid question, does build time happen in the world of the web and websites? I thought that you have to ship the code to the client and his browser interprets the JS, how is svelte different, where is this compiler placed, on the server, when you ask the server, then the svelte compiler compiles svelte code into JS. Where is the build step actually happening?
@OfferZenOrigins
@OfferZenOrigins Жыл бұрын
That's not a stupid question at all! In fact, it's an important question that many people may have. When it comes to web development, there are different ways to approach building and shipping code. In general, there are two main approaches: server-side rendering (SSR) and client-side rendering (CSR). With SSR, the server generates the HTML content for the web page and sends it to the client's browser. This means that the build process, which involves compiling and bundling the code, happens on the server. The server-side code can be written in a variety of languages such as Node.js, PHP, or Python. With CSR, the code is shipped to the client's browser and the client's browser is responsible for rendering the page. In this case, the build process happens on the developer's computer before the code is shipped to the client's browser. This is the more common approach for web development with JavaScript frameworks like React, Vue.js, and Angular. Svelte is different in that it uses a hybrid approach. Svelte is a compiler that generates highly efficient and optimized vanilla JavaScript code that can be shipped to the client's browser. However, Svelte also has an option for SSR, which means that the build process can happen on the server as well. When using SSR with Svelte, the Svelte compiler is run on the server and the resulting HTML content is sent to the client's browser. Does that answer your question?
@JLarky
@JLarky Жыл бұрын
I appreciate the effort everyone went to to avoid calling out the fact that Solid had higher satisfaction for two years in a row now
@shubitoxX
@shubitoxX Жыл бұрын
sounds like some people just prefer to stay in the mental model of react then for reasons we don't know but that's fine as we don't need the whole world to follow one model (imperative/functional vs declarative)
@JLarky
@JLarky Жыл бұрын
@@shubitoxX how is React relevant in a discussion of Svelte and Solid?
@shrin210
@shrin210 11 ай бұрын
​​​@@shubitoxX You're dumb i guess, to compare mental model of React and Solid on the basis of JSX. Afterall Svelte Runes totally copied the mental model Solid Js now 😂😂
@francoistaljaard8322
@francoistaljaard8322 10 ай бұрын
Solid came to mind. Not familiar enough with svelte or solid to comment much. Currently vuejs developer but I have my eye on solid..
@branislav3800
@branislav3800 Жыл бұрын
0:35 how is the JS from Svelte different from the JS libraries?
@IamSH1VA
@IamSH1VA Жыл бұрын
It’s like a compiler.
@goodjesse711
@goodjesse711 Жыл бұрын
I'd probably use Svelte if Solidjs didn't exist.
@hasan_haja
@hasan_haja Жыл бұрын
Yeah same! Svelte feels fun to write, but Solid is just great all round!
@aquaductape
@aquaductape Жыл бұрын
solid
@talmann
@talmann Жыл бұрын
I’d use solidjs rather than sveltekit if most of my experience were with react rather than angular 🙂
@majorhumbert676
@majorhumbert676 11 ай бұрын
I'd use that if Elm didn't exist.
Svelte Origins: A JavaScript Documentary
32:27
OfferZen Origins
Рет қаралды 187 М.
Svelte Hot Takes - Reacting To Web Hot Takes from Rich Harris
1:01:07
Theo - t3․gg
Рет қаралды 53 М.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 18 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 13 МЛН
What is Svelte? feat. Rich Harris
6:31
OfferZen Origins
Рет қаралды 3,2 М.
Svelte Is Good For Beginners
9:28
ThePrimeTime
Рет қаралды 77 М.
Rich Harris - Annoying Things About Svelte
30:43
Svelte Society
Рет қаралды 54 М.
Rich Harris on why he created Svelte
4:31
OfferZen Origins
Рет қаралды 7 М.
React VS Svelte...10 Examples
8:35
Beyond Fireship
Рет қаралды 550 М.
Vapor: The Future Of Vue
21:27
Theo - t3․gg
Рет қаралды 118 М.
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 323 М.
14 Awesome Real World Projects Using Svelte
10:49
Joy of Code
Рет қаралды 26 М.
The Difference Between Vue and React
10:27
Lachlan Miller
Рет қаралды 35 М.
The pros and cons of open-source feat. the Laravel Origins cast
13:05
OfferZen Origins
Рет қаралды 2 М.
ПС 110/10. Кто то подключил "левак" 110000 вольт!?
0:34
Советы электрика
Рет қаралды 1,3 МЛН
POV: You Find a 🗑️ Full of iPhones ⭐
0:13
Shakeuptech
Рет қаралды 1,6 МЛН
Nokia imba #trollface #sorts
0:31
SodnomTsybikov
Рет қаралды 7 МЛН
Samsung vs Iphone
0:21
Takadori1
Рет қаралды 22 МЛН
Фирменный ПК от ACER за 10 тысяч рублей.
34:38
Ремонтяш
Рет қаралды 271 М.
Покупка бюджетного ПК на Wildberries? 🤬
0:59