Solid Start Crash Course

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • A quick look at Solid Start.
    💬 Topics:
    What is Solid;
    What is Solit Start;
    Solid Reactivity & Signals;
    Server Functions;
    Client & Server Routes;
    Server side rendering.
    🥇 Become a Member - / @awesome-coding
    ✉️ Join the Newsletter - newsletter.awe...
    📖 Blog Article - www.awesome.cl...

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

  • @ChichaGad
    @ChichaGad 4 месяца назад +46

    Yes I am interested in a deep dive into this!
    Solid really looks promising

    • @awesome-coding
      @awesome-coding  4 месяца назад +1

      Thanks for the feedback!

    • @paxeealex
      @paxeealex 4 месяца назад +1

      @@awesome-coding It would be cool to see a Solid File System example video

    • @tithos
      @tithos 3 месяца назад

      me too. I want to lean more about Solid

    • @PhilanJames
      @PhilanJames 2 месяца назад

      @@awesome-codingso… Are we gonna get it?

    • @awesome-coding
      @awesome-coding  2 месяца назад +1

      @@PhilanJames Yes! It's on my list :D

  • @Dreamslol
    @Dreamslol 4 месяца назад +35

    But i just learned Svelte :(

    • @CoolestPossibleName
      @CoolestPossibleName 4 месяца назад +10

      Keep learning svelte

    • @awesome-coding
      @awesome-coding  4 месяца назад +15

      Don't worry - at this point they are pretty much the same thing. Same concepts, same implementation just a different developer experience.

    • @simonhartley9158
      @simonhartley9158 4 месяца назад +5

      When Svelte 5 comes out you'll have to relearn Svelte and it's new runes system as well 😉

    • @memestagestartup
      @memestagestartup 4 месяца назад +2

      I learned svelte 5.
      Runes are like added featues

    • @Dreamslol
      @Dreamslol 4 месяца назад +2

      @@CoolestPossibleName I mean i need too, working for a Company with a Svelte stack :D

  • @jrmayol857
    @jrmayol857 4 месяца назад +17

    Yes - we are interested. Maybe a crash course video with deployment included. Thank you!

  • @kamalkamals
    @kamalkamals 4 месяца назад +2

    sveltejs, solidjs and qwikjs more better than reactjs, but the community ..... :(

  • @guilhermenunes3130
    @guilhermenunes3130 4 месяца назад +14

    Finally a 1.0 release

    • @awesome-coding
      @awesome-coding  4 месяца назад

      Yep.. they took their time with this one.

  • @bryson2662
    @bryson2662 4 месяца назад +9

    I love solid and I played around with solid start when it was first announced and was impressed. I'd love more videos about it in the future

  • @ha5anmukhlis
    @ha5anmukhlis 4 месяца назад +1

    how does caching with use server work? will it cache the data on the server or tell the client to cache it locally?

  • @wlockuz4467
    @wlockuz4467 4 месяца назад +2

    Genuine question, is there any good company out there that uses the "modern" way to write web apps?
    Every good company I see, when I say good I mean companies that make good money, uses tech that most hipster devs would call "old" - Larvel, Django, NestJS, Ruby on Rails, Express, Angular, Vanilla React etc.

    • @neneodonkor
      @neneodonkor 15 дней назад

      They use them but not on major projects. For example, on a portion of Apple's website, I don't recall where, it uses Solid.
      Open AI uses Remix.

  • @dawidwraga
    @dawidwraga 4 месяца назад +1

    Why use a fetch call for the mutation? Could you not simply use "use server" to turn it into an RPC?

    • @awesome-coding
      @awesome-coding  3 месяца назад +1

      Yes I could - I wanted to show multiple ways of working with the server.

  • @rubenchiquin3768
    @rubenchiquin3768 4 месяца назад

    Love the format of the video. Keep it up

  • @IvanKleshnin
    @IvanKleshnin 3 месяца назад

    `tasks` state instance manually synchronized with the BE state looks suspicious as a pattern. Great video anyway.

  • @neociber24
    @neociber24 4 месяца назад +2

    I really like Solid, but I don't know what is it's place if React already exists.
    We could say its faster, but that's not really a valid argument, most people aren't rendering millions of elements per second.

    • @luka1790
      @luka1790 4 месяца назад +5

      It really depends on what you want to build. Personally, I create highly interactive applications with a lot of CRUD operations. I choose SolidStart because it makes building CRUDs super easy. In SolidStart, you can define a server function and pass it to a form or use the useAction hook. Plus, you don't need to worry about loading states since they're streamed. The API is stable and doesn't change often, so there's less refactoring. I've had too many issues with React's virtual DOM performance, so I avoid it now.

    • @simonhartley9158
      @simonhartley9158 4 месяца назад +3

      Solid has fewer foot-guns. Performance wise, the new React Compiler implies that unnecessary re-renders are significant enough there are enough cases where performance can be a problem. I think the performance is useful in areas where otherwise you'd need to spend time and add additional complexity in order to optimize.

    • @IvanKleshnin
      @IvanKleshnin 3 месяца назад

      React, especially new one, consumes an insane amount of CPU power for its full tree reconcilations (now including server-client communication) and virtual DOM. Solid will save your device battery much better. So (initially) Solid will be the most interesting for people concerned about mobile web and slow devices.

  • @matanon8454
    @matanon8454 4 месяца назад +1

    I stick with Vue / Nuxt, best dx with proper ecosystem

    • @awesome-coding
      @awesome-coding  4 месяца назад

      Fair enough!

    • @neneodonkor
      @neneodonkor 15 дней назад

      Me too but I want to include Solid into my kit. 🤔😊

  • @smoked-old-fashioned-hh7lo
    @smoked-old-fashioned-hh7lo 4 месяца назад +1

    i wish they would've stuck with server$ as opposed to the server actions. i find it to be more explicit. the rust frameworks have a #[server()] macro which accepts a component and an endpoint as arguments which i like too. when i look at server actions i have to think for a second. it's just a weird pattern.

  • @nielskersic328
    @nielskersic328 4 месяца назад +2

    Absolutely love Solid for kicking off the Signals trend. But I just can’t imagine them gaining much ground in the current framework war

    • @awesome-coding
      @awesome-coding  4 месяца назад +1

      Why is that? We just need more ecosystem built around it. A good component library (something like ant design) will go a long way.

    • @joshuaprecious
      @joshuaprecious 4 месяца назад +1

      @@awesome-coding And shadcn has already been ported over, so that's a plus.

    • @RonnieDenzel
      @RonnieDenzel 4 месяца назад

      I also thought the same about sveltekit or remix,but I'm glad they all exist since they shine in a certain ability,making it easier to choose the framework required for a task

  • @my_name_is_ahad
    @my_name_is_ahad 4 месяца назад +4

    Here we go! Learn another framework again! 😂

    • @awesome-coding
      @awesome-coding  4 месяца назад +1

      We call this job security in the frontend industry. It's such a sh*t show that it keeps potential new developers away...

  • @blankslate6393
    @blankslate6393 3 месяца назад

    This not a 'crash course'! more like an 'Armchair ToDo app' . A real world app with auth and json api would be much more appreciated.

    • @awesome-coding
      @awesome-coding  3 месяца назад

      The "armchair expert" is my middle name!

  • @IainSimmons
    @IainSimmons 4 месяца назад +3

    Great summary! I've been watching your videos for a while now, its nice to have a name to this series!
    Are you thinking about naming the videos more with Snippets in the name?
    Would love to see a deep dive on SolidStart and another on Svelte 5 when it drops! 🙂

    • @awesome-coding
      @awesome-coding  4 месяца назад +1

      Thank you for your feedback!
      Do you think it would be useful to add "the Snippet" in the name as well?

    • @IainSimmons
      @IainSimmons 4 месяца назад

      @@awesome-coding Yes, perhaps, and maybe a very short intro. But even a playlist on your channel would be useful

  • @Sam-dh7fr
    @Sam-dh7fr 3 месяца назад

    Again a "use server" bullshit.how the fuk os that a good idea?

  • @Crakkovia
    @Crakkovia 3 месяца назад

    Very interesting and awesome explanation thank, do more tut about this plz!

  • @nvictorme
    @nvictorme 4 месяца назад

    Why did they adopt File Based Routing? :(

  • @piotroszko2
    @piotroszko2 4 месяца назад

    Finally 1.0. I was using solidjs on/off for last few side projects. I was waiting to use solidstart in production.

  • @CoolestPossibleName
    @CoolestPossibleName 4 месяца назад +1

    I made file system based routing in golang for vanilla js 😤

    • @awesome-coding
      @awesome-coding  4 месяца назад

      Nice!

    • @vic_shine
      @vic_shine 4 месяца назад

      talk is cheap, show us the code (c) Linus Torvalds 😅

  • @francispenuliar8313
    @francispenuliar8313 4 месяца назад

    ilove svelte

  • @thotratkoceri554
    @thotratkoceri554 4 месяца назад

    Not going to lie I have huge respect for web developers, I was involved in project was the most boring shit i did in the while.

    • @awesome-coding
      @awesome-coding  4 месяца назад

      Yep... There is only so much you can inovate by moving things around on a web page.
      This is why we love keeping things fresh by reinventing the tools we are using every month.

  • @IamSholiSJ
    @IamSholiSJ 4 месяца назад

    Hi , I'm new to web development but have learnt programming in JavaScript,html
    Can you suggest how to start learning Web development with new framework like solid/astro. People are suggesting me to start with something like react and then switch to other framework, any disadvantage on learning Web development with solid/astro instead of old frameworks
    I'm not looking for a job , so you can exclude that reason

    • @saeedom100
      @saeedom100 4 месяца назад

      If you're not looking for a job and you're excited about Solid or Astro, go ahead and dive in! At the end of the day, if you become good in one framework, it will make it easier to transition to another. All the best!

    • @punkweb
      @punkweb 4 месяца назад

      There's no reason you couldn't start with Solid and then pick up React later if you want to, or the other way around.
      The only reason I could think to learn React first if you eventually want to learn both, is that React has a lot of quirks that are hard to figure out the first time you encounter them, if you're used to other frameworks. Solid makes way more sense and doesn't have many of the same quirks.
      My advice would be to not start out with one of these "meta" frameworks (nextjs, solid start, nuxt, etc.), and to just start out learning by building SPAs.

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

    Here we go "use server" again 😲

  • @raymundverallo1967
    @raymundverallo1967 4 месяца назад

    Would love a deep dive.

  • @irfanmohammad7269
    @irfanmohammad7269 4 месяца назад

    need a deep dive

  • @Niksorus
    @Niksorus 4 месяца назад

    Please, give us the full shaft for this one 🙏

  • @eliascarvalho8637
    @eliascarvalho8637 4 месяца назад

    Yes, I am interested. Amazing vídeo!

  • @oPatrickVico
    @oPatrickVico 4 месяца назад

    A deep dive would be interesting

  • @QueeeeenZ
    @QueeeeenZ 4 месяца назад +1

    Looks too much like React, wish it got rid of JSX and use normal HTML.

    • @Miles-co5xm
      @Miles-co5xm 4 месяца назад

      Svelte

    • @QueeeeenZ
      @QueeeeenZ 4 месяца назад

      @@Miles-co5xm Vue looks better

    • @Bawar33
      @Bawar33 4 месяца назад +1

      Vue

    • @QueeeeenZ
      @QueeeeenZ 4 месяца назад

      @@Bawar33 Vue 100%, even better Nuxt

    • @neneodonkor
      @neneodonkor 15 дней назад

      JSX is fine. It just looks like HTML. 🤷🏾‍♂️ I say this as someone who does Vue.

  • @fahadahmad3573
    @fahadahmad3573 4 месяца назад

    More rust pleasee

  • @weiSane
    @weiSane 4 месяца назад +1

    Another framework 🤦🏻‍♂️
    Oh JavaScript community 😂

  • @Danielo515
    @Danielo515 4 месяца назад

    That casting looks awful

    • @awesome-coding
      @awesome-coding  4 месяца назад +1

      I believe there were some friendlier ways to handle that.