Effortless Vue.js Forms

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Mega-inspired from the OG: inertiajs.com/

Komentáře • 33

  • @santicanabalramos667
    @santicanabalramos667 Před 3 měsíci +8

    Nice video. Btw, you could use structuredClone from js which creates also a deep copy of the object without depend on lodash :D

  • @Drumstix42
    @Drumstix42 Před 3 měsíci +2

    Really well put together. Nicely done.

  • @ItsRyanStudios
    @ItsRyanStudios Před 3 měsíci +1

    Damn this is quite beautiful.
    I implemented something very similar from scratch; glad to see I wasn't just making up a needlessly convoluted mess.
    There are some abstractions here that are quite nice, but I'd be hesitant to implement in my codebase just because I know it would be difficult for other devs to follow.
    I sometimes need to prioritize explicit-ness over eloquence unfortunately...
    I try my best to consider future devs working in the codebase, who may be unfamiliar with these conventions.

  • @AksoomHussain7866
    @AksoomHussain7866 Před 3 měsíci +2

    missing tallstack code snippet but i successfully implement it and it work like a charm 😍

  • @oketafred
    @oketafred Před 3 měsíci +1

    Always learning new things from your videos 🔥🔥🔥

  • @orpheusohms
    @orpheusohms Před 3 měsíci +1

    Very nice. This is almost identical to inertia form

  • @robkom
    @robkom Před 3 měsíci

    VeeValidate does all this + much more, and is documented (and the native Constraint Validation API can also help a lot), but this is a nice speed-run showcasing how it might be set up from scratch 👍

  • @julienSibille
    @julienSibille Před 3 měsíci +1

    The hooks system seems so powerfull !

  • @QiroLab
    @QiroLab Před 3 měsíci +1

    Wow, that is very useful, Thanks for sharing.

  • @maenardaboabo1934
    @maenardaboabo1934 Před 22 dny

    Can you make a video how can we setup laravel reverb while using laradock?

  • @Tofusky
    @Tofusky Před 3 měsíci +1

    very nice video, love it

  • @iUmerFarooq
    @iUmerFarooq Před 3 měsíci

    More Vuejs tutorials please 💚

  • @drugoviic
    @drugoviic Před 3 měsíci +5

    why is the video title "effortless"😅

    • @cdruc
      @cdruc  Před 3 měsíci +3

      people click on this stuff 😂
      as with all things in life, everything becomes effortless once you put in the work 😀

  • @lionelagondanou7142
    @lionelagondanou7142 Před 25 dny

    Hello Sir. Thank you for your content, I really like it. Please how to prevent Ziggy from exposing routes in browser source code using inertia js and Laravel?

    • @cdruc
      @cdruc  Před 25 dny

      you cannot do that. otherwise you wouldnt be able to access them at all.
      maybe you want to hide a couple of them? not sure if such option exists (but it should!)

    • @lionelagondanou7142
      @lionelagondanou7142 Před 25 dny

      @@cdruc All right. But doesn't that compromise security?

    • @cdruc
      @cdruc  Před 24 dny

      ​@@lionelagondanou7142 not really - at least not in a serious way.
      Just because I know a link, doesn't mean I can DO something with it.
      If there are links that should be accessible only for specific kind of users, ensure you protect those with a middleware.
      For example: I know the USA White House address. That doesn't mean I can just barge in 😀

    • @lionelagondanou7142
      @lionelagondanou7142 Před 24 dny +1

      @@cdruc 😅 I understand better. Thank you so much

  • @robkom
    @robkom Před 3 měsíci

    What's the use-case for recentlySuccessful?

    • @cdruc
      @cdruc  Před 3 měsíci +1

      for when you want to show a “success” message for a brief period of time. you can add a v-if=form.recentlySuccessful>Changes saved. Something like that

    • @robkom
      @robkom Před 3 měsíci +1

      @@cdruc Ah, interesting, thanks!

  • @nateg9
    @nateg9 Před 3 měsíci

    jsfiddle or github link if possible :) ?

  • @hichamdev
    @hichamdev Před 3 měsíci +1

    i need a video for "Laravel 11 Sanctum SPA Authentication" please,
    i have watched all videos on youtube and google and ai websites with no solution, i need it soon as possible and i can pay for it,
    no problem

    • @cdruc
      @cdruc  Před 3 měsíci

      no way you watch all my videos 😂
      There's little to no difference between Laravel 10 and 11 in terms of how sanctum SPA auth works.
      I can help you for free if you give me access to the repo + .env file. Send me an e-mail at druc[at]pinsmile.com
      99.999% sure it's one of these:
      czcams.com/video/M7gFCmyYcOU/video.html
      czcams.com/video/pZdzzKf0h3E/video.html
      czcams.com/video/O6ibPLFfAh0/video.html

    • @hichamdev
      @hichamdev Před 3 měsíci

      @@cdruc i have invited you on email

    • @cdruc
      @cdruc  Před 3 měsíci

      thanks! i just sent a PR with a possible fix

    • @hichamdev
      @hichamdev Před 3 měsíci

      @@cdruc it's work good, thank you sooooo much.

    • @hichamdev
      @hichamdev Před 3 měsíci

      @@cdruc it's work good, thank you sooooo much.