7 Projects To Learn Svelte 5

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 75

  • @JoyofCodeDev
    @JoyofCodeDev  Місяць тому +14

    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 Місяць тому +1

      Lovely site design. Giving the cli a go shortly, great work 👏

    • @sistana
      @sistana Місяць тому

      Thanks My dear friend You are a very good person, thanks again

    • @bmehder
      @bmehder Місяць тому

      Serif-gate

  • @prashlovessamosa
    @prashlovessamosa Місяць тому +15

    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 20 днів тому

    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.

  • @SRG-Learn-Code
    @SRG-Learn-Code Місяць тому +7

    This is really good. Really, really, really, really good.

  • @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 Місяць тому

      Didn't watch the full video, can you share the timestamp?

    • @dannymendiola
      @dannymendiola Місяць тому

      ​@@fmaiabatista6:47

    • @dannymendiola
      @dannymendiola Місяць тому

      @@fmaiabatista Sure starts at 6:47

  • @SoreBrain
    @SoreBrain Місяць тому +4

    I'm hyped for all the upcoming svelte 5 content

  • @dlongodesign7026
    @dlongodesign7026 Місяць тому +2

    🎉 ‪You make it look so easy peasy lemon squeezy… that’s because it is!‬

  • @wyndmill
    @wyndmill Місяць тому +2

    this is an excellent tutorial, thanks for covering everything

  • @webstuffzak
    @webstuffzak Місяць тому

    Brilliant. Love your videos as always. Also never fails to make me chuckle.

  • @BhideSvelte
    @BhideSvelte Місяць тому +2

    We missss you Matia on svelte 5 release on live stream 😢 we love your workkkk 🎉🎉🎉🎉🎉

  • @oddrobot5499
    @oddrobot5499 Місяць тому +2

    10:08 it shows 0 celsius=0 fahrenheit, it should be 32 fahrenheit. Awesome video btw🎉

    • @JoyofCodeDev
      @JoyofCodeDev  Місяць тому +1

      if you want you can also do the conversion when reading the value

  • @dogfoxx
    @dogfoxx Місяць тому

    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.

  • @MohammadAbdalrazzak
    @MohammadAbdalrazzak 28 днів тому

    Thank you so much!, Such a kind person

  • @meka4996
    @meka4996 Місяць тому +3

    Svelte 5 has just been released!

  • @jamesmoynihan948
    @jamesmoynihan948 Місяць тому

    Nice video! Thanks for sharing.
    That first counter should probably be an not a disabled .

    • @JoyofCodeDev
      @JoyofCodeDev  29 днів тому +1

      I forgot this existed

    • @jamesmoynihan948
      @jamesmoynihan948 29 днів тому

      @JoyofCodeDev ya, pretty rare to need it, but this is a perfect use-case.

  • @softgripper
    @softgripper Місяць тому +3

    Hey Friend.
    Great video!

  • @garlandcrow
    @garlandcrow 29 днів тому

    Thanks for the course on CSS

  • @jaam2232
    @jaam2232 Місяць тому +2

    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  Місяць тому +1

      it's just normal Brave, but I changed the system font to Monaspace Neon

  • @c.1977
    @c.1977 29 днів тому

    Superb content, thanks 🎉

  • @pascaltib
    @pascaltib Місяць тому

    Amazing thanks for the video

  • @egrekov
    @egrekov Місяць тому +1

    FANTASTIC

  • @realderek
    @realderek Місяць тому +3

    "Sharp C, the evil twin of C#" Haha

  • @dibbyo456
    @dibbyo456 Місяць тому +1

    Quality content

  • @dezly-macauley
    @dezly-macauley Місяць тому +1

    😎 Awesome stuff 👏👏👏

  • @thedelanyo
    @thedelanyo Місяць тому +1

    4:32 with the counter, since am not receiving user input through input tag, I guess it's safe to a div

  • @serychristianrenaud
    @serychristianrenaud 25 днів тому

    thanks

  • @DannniScript
    @DannniScript Місяць тому

    Daaaamn

  • @Yusran_Uca
    @Yusran_Uca 8 днів тому

    Svelte can svelt our stress

  • @sledgex9
    @sledgex9 Місяць тому +1

    At 57:46 it should have been Array(cols)

  • @naldiojoaquim8920
    @naldiojoaquim8920 Місяць тому +1

    Please create more videos on week

  • @lasal7820
    @lasal7820 Місяць тому

  • @EliSpizzichino
    @EliSpizzichino 20 днів тому

    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`))`

  • @TheTripleKnight
    @TheTripleKnight 22 дні тому

    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  22 дні тому

      there's always some bugs 🐛

    • @TheTripleKnight
      @TheTripleKnight 22 дні тому

      @@JoyofCodeDev 😂 yes of course, just hoping you had an idea about a prevention/solution.

    • @TheTripleKnight
      @TheTripleKnight 22 дні тому

      Forgot to thank you again for all your fantastic work btw, thanks

    • @JoyofCodeDev
      @JoyofCodeDev  22 дні тому

      I can't seem to reproduce it

    • @TheTripleKnight
      @TheTripleKnight 22 дні тому

      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.

  • @mouniryounes
    @mouniryounes Місяць тому

    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  29 днів тому

      that doesn't work

    • @mouniryounes
      @mouniryounes 29 днів тому

      @@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!

  • @Kmps2341af
    @Kmps2341af Місяць тому

    any upadated ui library for svelte 5 ?

  • @GoosebumpCinema
    @GoosebumpCinema Місяць тому +1

    what font do you use?

  • @isaacfink123
    @isaacfink123 Місяць тому

    7:43 the evil twin of f# (also a language)

  • @ELHAUKEZ
    @ELHAUKEZ 29 днів тому

    Is svelte kit supported with svelte 5?

  • @fabiogiolito
    @fabiogiolito Місяць тому

    Would have been better to use on the 1st project (at 4:15)

  • @devgauravjatt
    @devgauravjatt Місяць тому +2

    Learn Svelte with joy of code easy pasy 😅

  • @j.m.manhard
    @j.m.manhard Місяць тому +1

    First 🎉

  • @TomislavMiletic
    @TomislavMiletic 17 днів тому

    The video is great, but is hard to follow, beginners will not be able to understand the "why"

    • @JoyofCodeDev
      @JoyofCodeDev  14 днів тому

      I think you learn the why through the exercise

  • @khalilayari3230
    @khalilayari3230 Місяць тому

    holy shit they just killed the only thing that made svelte 4 attractive for some rare edge cases

    • @isaacdruin
      @isaacdruin Місяць тому

      WHAT WAS THE THING?!

    • @khalilayari3230
      @khalilayari3230 Місяць тому

      @@isaacdruin developer experience and intuitive syntax is the thing.

    • @isaacdruin
      @isaacdruin Місяць тому

      ​@@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 Місяць тому

    Getters and setters?
    Svelte 5 is born dead.