7 Projects To Learn Svelte 5

  Рет қаралды 25,393

Joy of Code

Joy of Code

Күн бұрын

7GUIs in Svelte.
🔴 Patreon: / joyofcode
𝕏 Twitter: / joyofcodedev
💬 Discord: / discord
🔥 Uses: www.joyofcode....
🔗 Svelte 5: svelte-omnisit...
🔗 7 GUIs: eugenkiss.gith...
🔗 GitHub: github.com/joy...
🔖 Timestamps
0:00 Intro
1:10 7GUIs
1:53 Sponsor
2:08 Svelte 5
2:26 Counter
4:29 Temperature Converter
10:26 Flight Booker
19:45 Timer
25:37 CRUD
38:36 Circle Drawer
53:58 Cells
1:14:11 Outro
#joyofcode #sveltekit #svelte

Пікірлер: 80
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
The official docs aren't live yet but you can go to svelte-omnisite.vercel.app/ and use the new Svelte CLI with `npx sv create` to create a project.
@farang_lao
@farang_lao 3 ай бұрын
Lovely site design. Giving the cli a go shortly, great work 👏
@sistana
@sistana 3 ай бұрын
Thanks My dear friend You are a very good person, thanks again
@bmehder
@bmehder 3 ай бұрын
Serif-gate
@JustPhred-m4g
@JustPhred-m4g 2 ай бұрын
Thank you so much for working through these projects in this way. You presented so many techniques and approaches to breaking down a problem in the context of Svelte/Svelte5. Recognizing the ways one can leverage the out-of-the-box reactiveness at the core of Svelte is key ... I'm still working on that! Again, thank you. Please keep doing what you do!
@prashlovessamosa
@prashlovessamosa 3 ай бұрын
I have seen your tweet thanks for sharing this I have just completed the Svelte crash course on the Syntax channel this is so helpful thanks.
@bmehder
@bmehder 3 ай бұрын
I love learning through projects. It's just more enjoyable, and it prevents me from having to think of a project to implement while I am trying to learn at the same time. I hope you make more videos like these.
@SoreBrain
@SoreBrain 3 ай бұрын
I'm hyped for all the upcoming svelte 5 content
@SRG-Learn-Code
@SRG-Learn-Code 3 ай бұрын
This is really good. Really, really, really, really good.
@webstuffzak
@webstuffzak 3 ай бұрын
Brilliant. Love your videos as always. Also never fails to make me chuckle.
@kingsgambit9284
@kingsgambit9284 2 ай бұрын
Right video at right time
@EliSpizzichino
@EliSpizzichino 3 ай бұрын
This is epic, I have to watch it again and again and take notes. you should have highlighted this gem: `const example = $derived(import(`../../../examples/${$page.params.example}/index.svelte`))`
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
yeah I forgot about that 😄
@wyndmill
@wyndmill 3 ай бұрын
this is an excellent tutorial, thanks for covering everything
@garlandcrow
@garlandcrow 3 ай бұрын
Thanks for the course on CSS
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
hello my frontend friends
@dannymendiola
@dannymendiola 3 ай бұрын
Thanks for the tip about using classes for universal state, it's soo much cleaner! I was just using a regular object for each piece of state, wrapping them in a class solved all the hoops I was having to jump through 🎉
@fmaiabatista
@fmaiabatista 3 ай бұрын
Didn't watch the full video, can you share the timestamp?
@dannymendiola
@dannymendiola 3 ай бұрын
​@@fmaiabatista6:47
@dannymendiola
@dannymendiola 3 ай бұрын
@@fmaiabatista Sure starts at 6:47
@c.1977
@c.1977 3 ай бұрын
Superb content, thanks 🎉
@dogfoxx
@dogfoxx 3 ай бұрын
Thanx for the awesome tutorial! Been looking forward to Svelte 5 but haven't yet practiced any of the new features. I'm following along as you write, but damn... I'm surprised my code works because you type much much faster than I do 😂. Still, this teaches me a lot and gets me excited to build something with all the new stuff.
@softgripper
@softgripper 3 ай бұрын
Hey Friend. Great video!
@egrekov
@egrekov 3 ай бұрын
FANTASTIC
@dlongodesign7026
@dlongodesign7026 3 ай бұрын
🎉 ‪You make it look so easy peasy lemon squeezy… that’s because it is!‬
@dezly-macauley
@dezly-macauley 3 ай бұрын
😎 Awesome stuff 👏👏👏
@meka4996
@meka4996 3 ай бұрын
Svelte 5 has just been released!
@jamesmoynihan948
@jamesmoynihan948 3 ай бұрын
Nice video! Thanks for sharing. That first counter should probably be an not a disabled .
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
I forgot this existed
@jamesmoynihan948
@jamesmoynihan948 3 ай бұрын
@JoyofCodeDev ya, pretty rare to need it, but this is a perfect use-case.
@MohammadAbdalrazzak
@MohammadAbdalrazzak 3 ай бұрын
Thank you so much!, Such a kind person
@pascaltib
@pascaltib 3 ай бұрын
Amazing thanks for the video
@jaam2232
@jaam2232 3 ай бұрын
Thanks for your content, it's very underrated. How did you customize your browser? It looks very clean and with the mono font it looks great
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
it's just normal Brave, but I changed the system font to Monaspace Neon
@BhideSvelte
@BhideSvelte 3 ай бұрын
We missss you Matia on svelte 5 release on live stream 😢 we love your workkkk 🎉🎉🎉🎉🎉
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
I was there 😂
@dibbyo456
@dibbyo456 3 ай бұрын
Quality content
@oddrobot5499
@oddrobot5499 3 ай бұрын
10:08 it shows 0 celsius=0 fahrenheit, it should be 32 fahrenheit. Awesome video btw🎉
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
if you want you can also do the conversion when reading the value
@thedelanyo
@thedelanyo 3 ай бұрын
4:32 with the counter, since am not receiving user input through input tag, I guess it's safe to a div
@realderek
@realderek 3 ай бұрын
"Sharp C, the evil twin of C#" Haha
@Kmps2341af
@Kmps2341af 3 ай бұрын
any upadated ui library for svelte 5 ?
@serychristianrenaud
@serychristianrenaud 3 ай бұрын
thanks
@Yusran_Uca
@Yusran_Uca 2 ай бұрын
Svelte can svelt our stress
@TheTripleKnight
@TheTripleKnight 3 ай бұрын
For the Circles Drawing example, rapidly clicking the canvas causes the next circles to be drawn in the wrong location, I assume this is something to do some interim step where its still updating perhaps $effect or tick would be a solution - I need your knowledge and wisdom to shed some light 🙏
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
there's always some bugs 🐛
@TheTripleKnight
@TheTripleKnight 3 ай бұрын
@@JoyofCodeDev 😂 yes of course, just hoping you had an idea about a prevention/solution.
@TheTripleKnight
@TheTripleKnight 3 ай бұрын
Forgot to thank you again for all your fantastic work btw, thanks
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
I can't seem to reproduce it
@TheTripleKnight
@TheTripleKnight 3 ай бұрын
Probably just me missing something, it was trying to calculate the top/left domrect when clicking on an existing circle therefore calculations for the next based off of the circles position - fixed by binding a ref to the main svg stage and using that for the domrect offset. However like I said it’s probably my fault for not following along properly. Soz for wasting any of your time.
@sledgex9
@sledgex9 3 ай бұрын
At 57:46 it should have been Array(cols)
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
thank you I fixed it
@lasal7820
@lasal7820 3 ай бұрын
@naldiojoaquim8920
@naldiojoaquim8920 3 ай бұрын
Please create more videos on week
@mouniryounes
@mouniryounes 3 ай бұрын
25:00 Using if(elapsed > duration) you are forcing it to go over and then trying to fix it. Use if(elapsed >= duration) and it should be no problem.
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
that doesn't work
@mouniryounes
@mouniryounes 3 ай бұрын
@@JoyofCodeDev Yes it does not because the actual problem is a hardware computational problem try adding 0.1+0.1+0.1 in you console. So once you reach 5.0 it is actually 4.99999999999 this is why it loops one more time and results in 5.09999999999 which is interpreted as 5.1 (this is why you used toFixed to remove the extra WEIRD digits). My comment was on the logic, so the actual solution is my comment + instead of elapsed+=1 use elapsed =(+elapsed+0.1).toFixed(1) and remove the .toFixed(1) from the div, it should work since you're fixing it before checking elapsed >=duration. And btw I guess everyone appreciates your great work and dedication, thank you for what you're doing. Appreciate it!
@ELHAUKEZ
@ELHAUKEZ 3 ай бұрын
Is svelte kit supported with svelte 5?
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
yeah
@GoosebumpCinema
@GoosebumpCinema 3 ай бұрын
what font do you use?
@codingwithfazley
@codingwithfazley 3 ай бұрын
That's probably Monaspace neon.
@fabiogiolito
@fabiogiolito 3 ай бұрын
Would have been better to use on the 1st project (at 4:15)
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
thanks I'm going to update it
@isaacfink123
@isaacfink123 3 ай бұрын
7:43 the evil twin of f# (also a language)
@bustopgamer5802
@bustopgamer5802 2 ай бұрын
Not sure about you but I hate these getters and setters. Can you make a video where we don't use those?
@JoyofCodeDev
@JoyofCodeDev Ай бұрын
you can watch my Svelte 5 runes guide: kzbin.info/www/bejne/qnbVfKyrirmtqa8
@danielrincodev
@danielrincodev 3 ай бұрын
Daaaamn
@j.m.manhard
@j.m.manhard 3 ай бұрын
First 🎉
@PanopticMotion
@PanopticMotion Ай бұрын
Slow down! I have never had to slow a video down! WTF :) Why you in a hurry :)
@devgauravjatt
@devgauravjatt 3 ай бұрын
Learn Svelte with joy of code easy pasy 😅
@TomislavMiletic
@TomislavMiletic 3 ай бұрын
The video is great, but is hard to follow, beginners will not be able to understand the "why"
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
I think you learn the why through the exercise
@khalilayari3230
@khalilayari3230 3 ай бұрын
holy shit they just killed the only thing that made svelte 4 attractive for some rare edge cases
@isaacdruin
@isaacdruin 3 ай бұрын
WHAT WAS THE THING?!
@khalilayari3230
@khalilayari3230 3 ай бұрын
@@isaacdruin developer experience and intuitive syntax is the thing.
@isaacdruin
@isaacdruin 3 ай бұрын
​@@khalilayari3230 there are seven runes to learn and everything else is basically the same as Svelte 4. I would argue that they are more javascript-like and idiomatic to javascript than $: or 'export let', for example. Global state is less of a pain, state in typescript files... I just started wrapping my head around it all, but so far I would say you're dead wrong.
@greendsnow
@greendsnow 3 ай бұрын
Getters and setters? Svelte 5 is born dead.
@JoyofCodeDev
@JoyofCodeDev 3 ай бұрын
I guess JavaScript is dead
Use Svelte 5 And Compete For Cash Prizes (SvelteHack 2024)
5:15
Joy of Code
Рет қаралды 4,7 М.
Sveltekit Data Fetching in 2024 Explained
19:59
Ben Davis
Рет қаралды 13 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Different Ways To Share State In Svelte 5
28:41
Joy of Code
Рет қаралды 15 М.
20 Svelte Features You Missed During Advent Of Svelte
20:07
Joy of Code
Рет қаралды 12 М.
Master The Svelte Context API
18:07
Joy of Code
Рет қаралды 10 М.
I Tried Every Svelte UI Library
20:57
Joy of Code
Рет қаралды 56 М.
Svelte 5 Is Like React, But Better
19:33
Theo - t3․gg
Рет қаралды 88 М.
Svelte Is Good For Beginners
9:28
ThePrimeTime
Рет қаралды 87 М.
The Svelte 5 Reactivity Guide
21:41
Joy of Code
Рет қаралды 39 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis
Рет қаралды 24 М.
Use Svelte 5 Snippets To Reuse Markup Without Creating Components
17:41
Svelte 5 Runes - How to talk to the compiler ft Rich Harris
27:34
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН