Svelte 5 Basics - Complete Svelte 5 Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 101

  • @naldiojoaquim8920
    @naldiojoaquim8920 Месяц назад +54

    Please create more videos about svelte 5

  • @arvi8843
    @arvi8843 Месяц назад +29

    Thanks! Hope for more advanced course in Svelte 5/Sveltekit. 🔥

  • @boscodsouza5087
    @boscodsouza5087 18 дней назад +2

    This is very helpful for me, a Svelte5 beginner. Thank you Scott & Syntax. 🙏

  • @fennecbesixdouze1794
    @fennecbesixdouze1794 Месяц назад +3

    @1:41:50 I can't even begin to explain to you how much nicer this is in Vue with just "ref".
    To get the most recent value it's just "name.value", to set it it's just name.value = "New Name". It's simple, easy, always consistent, doesn't require writing mountains of boilerplate setters and getters etc, and you can return "name" out in an object and destructure it too and it just works and doesn't lose reactivity.
    And if you want to expose only the API you want, that's easy too: you just write the getters and setters in that case. The point is that ref/reactive are the simple primitives on which you build other reactive "composables". Vue also has by far the best and most mature collection of pre-built composables in the "VueUse" project.
    Signals are the future, and the ref/reactive API is so much nicer DX than Svelte 5's mess of boilerplate getters and setters or Solid's array destructuring nonsense. Time for people to stop sleeping on Vue.

  • @marlopainter8246
    @marlopainter8246 Месяц назад +8

    I had no idea 'sv create' existed. I was using 'create svelte@latest' .... sv is way better. I used 'bunx' instead of 'npx' and it was the same. Since the video, it asks which package manager to use, and many are listed. I chose bun and it set it up with bun and even gave the bun commands at the end. I love Svelte! Thanks for the video!

    • @BhideSvelte
      @BhideSvelte Месяц назад +4

      It was released yesterday...on svelte summit October 19 th

    • @marlopainter8246
      @marlopainter8246 Месяц назад +1

      @@BhideSvelte I guess that explains why I never heard of it. 🤣

  • @cholasimmons
    @cholasimmons 12 дней назад +1

    I was porting a personal project over from old Svelte (3/4) to 5,
    I wish i watched this video first, gosh, it's got everything you need to know!
    But feel free to make a tutorial on page transitions, both the old way and the View Transitions API please 🙏

    • @syntaxfm
      @syntaxfm  11 дней назад +1

      Thank you! More coming.

  • @usernamesSux9
    @usernamesSux9 Месяц назад +3

    Svelte 5 just released! Woohoo! I am definitely looking forward to more Svelte 5 videos from Scott

  • @prashlovessamosa
    @prashlovessamosa Месяц назад +8

    Mr Scott
    Please cover sveltekit too after this totally loved it please don't forget to complete this series as I am still rooting for the third video of local first series😅.

    • @syntaxfm
      @syntaxfm  Месяц назад +3

      The third local first video was derailed by the soon arrival of Zero. I'll be redoing it with Zero very soon once it's released.

    • @prashlovessamosa
      @prashlovessamosa Месяц назад

      @@syntaxfm great can't wait for it thanks.

    • @joloppo
      @joloppo Месяц назад +2

      What's Zero?

  • @rudymundek
    @rudymundek Месяц назад +2

    I'm upgrading from Svelte 4, and this tutorial is making it very easy to do so. Thanks!

  • @thedelanyo
    @thedelanyo Месяц назад +1

    19:56 in Svelte, that name variable would be infered. So does it mean, there's no inference in Svelte 5 components? 🤔,
    Edit: this is now clearly explained, with default value. 37:15

  • @IFIListen
    @IFIListen Месяц назад

    Thanks for the tutorial, definitely looking forward to advance Svelte 5 + Sveltekit tutorial. 🔥

  • @itskazem
    @itskazem 27 дней назад

    great, I'm looking forward for intermediate or advanced videos of svelte 5 or even svelteKit after it newer version released

  • @hosseinse4079
    @hosseinse4079 9 дней назад

    tnx i watched this and it was very handy .. cuz all other learning courses are from svelte 4

    • @syntaxfm
      @syntaxfm  9 дней назад

      Glad to hear it. More on the way

    • @hosseinse4079
      @hosseinse4079 8 дней назад

      @@syntaxfm one thing that i like to mention is ... we prefer to watch 3 30 mins video like part 1 part 2 part 3 than one long time ..

  • @sureshmutluru4532
    @sureshmutluru4532 28 дней назад

    Looking forward for more tutorials on Svelte

  • @tofu_u
    @tofu_u Месяц назад

    Thanks for this Scott 🙏 Hoping for a lot more Svelte 5 content in the future!

  • @BrandonTingVGC
    @BrandonTingVGC 28 дней назад

    happy to see class coming back. Thanks!

  • @Александр-ч4п5ъ
    @Александр-ч4п5ъ 25 дней назад

    Thanks for the tut! More intermediate svelte videos please

  • @manuelalejandrosaezpalomin3904
    @manuelalejandrosaezpalomin3904 9 дней назад

    Awesome!!!! I hope the advance course!

    • @syntaxfm
      @syntaxfm  7 дней назад +1

      Def will be coming.

  • @mihaiandrei434
    @mihaiandrei434 27 дней назад

    Thanks for the video! Also enjoying the theme🙏. Does anybody know the font he is using?

    • @syntaxfm
      @syntaxfm  27 дней назад

      Theme is Syntaxfm. Font is MD IO (Mass Driver IO)

  • @AmanuelTadesse-w8m
    @AmanuelTadesse-w8m Месяц назад +4

    This channel is on fire 🔥🔥🔥

  • @kanways8
    @kanways8 Месяц назад +1

    I love svelte and I have developed some apps using sveltekit. The main reason of not choosing svelte always is there are no UI libraries like shadcn. I know there is community maintained shadcn-svelte package but I don't much of a fan of it. Also I'm not good at design, I want to know is there any tips you can give me to boost my productivity with svelte while building the UI.

  • @TheTripleKnight
    @TheTripleKnight 14 дней назад

    Can we get more in depth on state, state management, how to handle app wide, shared state?

  • @remcoe33
    @remcoe33 10 дней назад

    I would like to know more about state that is coming from multiple child components. I'm the typical backend dev that needs a frontend ;). And had a really hard time to get the state correct in a "edit product" it is basically a big form but split into component’s and those could have components as well. (like table and row).

  • @dei8bit
    @dei8bit 20 дней назад

    Nice extension , i like that things

  • @randyv744
    @randyv744 22 дня назад

    Thanks Scott!

  • @rich_lloyd_judd
    @rich_lloyd_judd 19 дней назад

    Your ultra-minimal browser looks amazing for dev and videos, what is it??

    • @syntaxfm
      @syntaxfm  19 дней назад

      Arc Browser

    • @rich_lloyd_judd
      @rich_lloyd_judd 19 дней назад

      @@syntaxfm Heck yep!! Developer mode, I had no idea that was a thing. Thanks for reply 🙏

  • @ozgurNY
    @ozgurNY 26 дней назад

    I found Svelte5 official docs difficult to understand. Thanks for the video.

  • @lucasgiunta8874
    @lucasgiunta8874 Месяц назад +1

    finally we can use {type} in a input

  • @naldiojoaquim8920
    @naldiojoaquim8920 Месяц назад +2

    Very amazing

  • @2u841r
    @2u841r Месяц назад

    Awesome! Thank You 🎉

  • @dei8bit
    @dei8bit 22 дня назад

    if both "npx sv create" and "pnpm create vite" ask you what you want to use, what is the difference?

  • @syfenx
    @syfenx Месяц назад +1

    Nice stuff, even you are haunted by vscode popups when you select text, make it stop!

    • @syntaxfm
      @syntaxfm  Месяц назад +1

      I swear I've turned them off 100 times.

  • @ok-alarm
    @ok-alarm Месяц назад +1

    NICE!!!! thanks for this

  • @mylastore
    @mylastore Месяц назад

    Does SvelteKit with Svelte 5 support Deno 2, or is it too early given that Deno 2 was just released?

    • @syntaxfm
      @syntaxfm  Месяц назад

      It does. I believe you just use the Deno adapter and you are gtg

  • @prestongovender5715
    @prestongovender5715 26 дней назад

    Let’s build a cool project with svelte5 , there’s not many good project based tutorials on RUclips.

    • @syntaxfm
      @syntaxfm  26 дней назад

      What kind of project would be interesting?

    • @prestongovender5715
      @prestongovender5715 26 дней назад

      @@syntaxfm a type of SAAS project or a clone. There’s a ton on next js but haven’t seen any svelte based Saas projects yet.

    • @greeneyed-px5pd
      @greeneyed-px5pd 25 дней назад

      @@syntaxfm Saas starter kit with multi-user accounts featuring Signup, email activation, reset password, login/logout, creating an organization, and adding new users to the account via invitation emails.

  • @laplantepierre
    @laplantepierre 27 дней назад

    I notice that sometime the component header was loaded twice in the rendering page (npm run dev) Is this a bug in svelte5 ?

  • @Aakash-j2e
    @Aakash-j2e Месяц назад

    is remix on the list?

  • @isaacdruin
    @isaacdruin Месяц назад

    Excited!

  • @Loui3Hunna
    @Loui3Hunna Месяц назад

    Let’s go!

  • @SDAravind
    @SDAravind Месяц назад +27

    Next course with Deno + Svelte 5

  • @albertjoelbonilla
    @albertjoelbonilla Месяц назад

    What theme do you use in your editor?

  • @mirekwad
    @mirekwad 24 дня назад

    Why doesn't Sveltekit use island architecture ?

    • @syntaxfm
      @syntaxfm  24 дня назад +1

      Great question. Let’s have Rich on the show again and ask him.

  • @smithdoesstuff
    @smithdoesstuff Месяц назад +11

    How long is the course?!? I wanna block my calendar so no one bothers me. HELP!!!

    • @isaacdruin
      @isaacdruin Месяц назад

      If it's longer than four hours I'll be shocked.

    • @syntaxfm
      @syntaxfm  Месяц назад +5

      1.5 hours ish.

    • @smithdoesstuff
      @smithdoesstuff Месяц назад +5

      @@syntaxfm nice! That’s the sweet spot of just enough information and attention span expiration. I’ve started with Svelte/kit using their docs but I’m wanting some more real world actual developer perspective on the basics.

    • @pookiepats
      @pookiepats Месяц назад

      @@smithdoesstuff brown noserrr

    • @smithdoesstuff
      @smithdoesstuff Месяц назад +1

      @@pookiepatsI hope that was sarcasm, didn’t think being excited for content was brown nosing

  • @seenonmymind
    @seenonmymind Месяц назад

    Stupid question: at 9:10 how did he select prettier and eslint without running the command? I press enter and it runs without selecting anything.

    • @Counterfeit85
      @Counterfeit85 25 дней назад +1

      Navigate the list with arrow keys and select an entry via spacebar. Then you press enter 😊

  • @ThatRandomDude914
    @ThatRandomDude914 Месяц назад +4

    Who is the teacher?

    • @prashlovessamosa
      @prashlovessamosa Месяц назад +1

      It doesn't matter 😅 all of them are good.

    • @syntaxfm
      @syntaxfm  Месяц назад +6

      Scott. He's done a bunch of Svelte courses for Level Up Tutorials going back to Svelte 3

  • @prashlovessamosa
    @prashlovessamosa Месяц назад +2

    I have some confusion regarding svelte and Sveltekit
    Does Svelte have routing support as like we have react router for react
    Another question Svelte 5 is on the horizon.
    Shall we get Runes support in Sveltekit too after the stable release of Svelte 5.

    • @syntaxfm
      @syntaxfm  Месяц назад +3

      In the most simplified way to relate. Svelte is React. SvelteKit is NextJS

    • @isaacdruin
      @isaacdruin Месяц назад +2

      Svelte does not have routing support, it's just the front-end portion.
      Chat just informed me that Svelte 5 was just released! Rich stated on his twitter that there will be an announcement blog post on Monday.
      SvelteKit does have full runes support!

    • @prashlovessamosa
      @prashlovessamosa Месяц назад +1

      I got it I was so confused I found the channel name joy of code I am learning svelte but had no idea about sveltekit but now I know that's nuxt for svelte " pages router ".
      Thanks again for the clarification.

    • @isaacdruin
      @isaacdruin Месяц назад +2

      @@prashlovessamosa Joy of Code is the man!

  • @mepkn
    @mepkn Месяц назад

    Why didn't they go with
    # if
    #else
    #endif

  • @MrDevianceh
    @MrDevianceh Месяц назад

    sveltekit wen?

  • @armanrozika
    @armanrozika 23 дня назад

    hmm i can see why some people hate the runes

    • @syntaxfm
      @syntaxfm  23 дня назад

      What part makes you feel that way

  • @faridhoque4235
    @faridhoque4235 Месяц назад

    sir, font name plz

  • @tom9380
    @tom9380 Месяц назад

    so basically snippets are just inline components.