Phoenix LiveView in Depth: Navigation, Lifecycle & mount vs handle_params

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 24

  • @jacob_luetzow
    @jacob_luetzow 10 หลายเดือนก่อน +5

    Great video. Keep this content coming!

  • @DanielBergholz
    @DanielBergholz 10 หลายเดือนก่อน +1

    The common misconceptions in 16:11 were especially helpful. I had the same questions when reading the docs, and with just 1 quick video you helped me with all of them, thanks again 🚀

    • @srcrip
      @srcrip  10 หลายเดือนก่อน +1

      You're welcome!

  • @morneauh
    @morneauh 8 หลายเดือนก่อน +2

    Wow, thanks. I like your way of explaining things. I was so confused with mount and handle_params, this clear it out. Now I'm still confused about the root vs app template. Watching your next video.
    If you want to make more content, keep your example practical (like that cart or multiple pages form). There is too many demo about the next cool chat app, but no one is building those. Form is what we need to do most of the time and roles access to the data.

    • @srcrip
      @srcrip  8 หลายเดือนก่อน

      Thank you!

  • @BenjaminHanisch
    @BenjaminHanisch 10 หลายเดือนก่อน

    This is awesome info. Great video Andrew!!

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Appreciate it!

  • @Koj4
    @Koj4 10 หลายเดือนก่อน

    Great content, a no bs elixir channel is just what I needed right now. Loved your nvim config vid as well.

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Thank you a ton!

  • @BreakerGandalfStyle
    @BreakerGandalfStyle 10 หลายเดือนก่อน +1

    Dude, this video saved my day!

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Glad to help!

  • @jdmik
    @jdmik 10 หลายเดือนก่อน

    Super clear explanations! Subscribed

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Welcome aboard!

  • @ovidiusm7710
    @ovidiusm7710 4 หลายเดือนก่อน

    Useful 👍

  • @danb6339
    @danb6339 10 หลายเดือนก่อน

    Awesome stuff 👍🏽! You are slowly becoming one of my favourite elixir/phoenix youtubers. I learnt elixir deeply last year. I really needed that explanation because I am currently going through the book: Programming Phoenix Liveview by Bruce Tate and I still confused at times with the live view callbacks.

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Thank you so much for the kind comment 🙏🙂

  • @DanielBergholz
    @DanielBergholz 10 หลายเดือนก่อน

    Great content as always!

  • @felipe-rodriguees
    @felipe-rodriguees 10 หลายเดือนก่อน

    Awesome content, maybe you can bring us how to create a project only with live components, should be really awesome.

    • @srcrip
      @srcrip  10 หลายเดือนก่อน

      Thank you, I'm working on a more practical-focused follow up video right now actually

  • @RAZR_Channel
    @RAZR_Channel 5 หลายเดือนก่อน

    Excellent High Level overview... too many tubes are passing over the basics and diving into extremely abstract BS... Exixir has MADD Potential... But I have 1 Huge complaint about it which is probably the reason it's not catching on. Exixir dev is engaging in TOO Many Hard depreciations... For real... The slightest version change and a substantial percentage of your code gets broken. They can't be doing that an expecting people to stick with it.

  • @ckalleee
    @ckalleee 8 หลายเดือนก่อน

    Hi, as an elixir and liveview noob I really enjoy content about those topics. One of the most common critiques I see online of liveview is the latency, so much so that it makes me and probably many others questions the validity of liveview at best and move on from spending time learning it at worst.
    I have a really hard time finding content that really goes into detail on this and it seems like such a key issue for when liveview is a good pick or not. See this most recent thread for example; even ppl with experience seem to be a bit confused and find info on the topic lacking.
    Do you have any suggestions on where to find content related to this topic?
    Thanks for your work, I enjoy your channels:)

    • @srcrip
      @srcrip  8 หลายเดือนก่อน

      Thank you for your support, and yes this is a very complicated subject without much well-established conventional wisdom yet.
      The biggest thing people can do to help the feel of latency in their LV app is just do as much client side as possible. If you can do something with LiveView.JS rather than server side: do it. If you have to reach for alpine or some other JavaScript, do that. Client side interactions are always going to feel faster.

  • @elixirfun
    @elixirfun 10 หลายเดือนก่อน

    What file navigation neovim plugin are you using here?

    • @srcrip
      @srcrip  10 หลายเดือนก่อน +1

      I'm using a slightly customized version of this: github.com/francoiscabrol/ranger.vim