Components with Phlex in Rails

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

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

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

    This was an informative video. Also seeing how you walked through a gotcha really helped me understand why you got the error and how to fix it. This definitely made me sub and feel like i made the right decision on learning Ruby and the Rails framework. It is fun but when you run into a gotcha, can have you go crazy a bit especially when you are new to the syntax and flow of things.

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

      Debugging is probably the most important skill to learn!

  • @johncjensen
    @johncjensen 10 หลายเดือนก่อน +3

    Definitely very intriguing 🤔. Was great seeing some of the potential gotcha issues with needing to pass in instance variables or custom helpers.

  • @WickedAyman
    @WickedAyman 7 หลายเดือนก่อน

    Looking for an Inertia Rails tutorial :))

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

    I really prefer ruby code for views and components to the mixed mess of templating. If you worked with desktop UI toolkit before is great to work this way with web apps, too..

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

    Nice video and explanations. But I think that I prefer the view_components gem. I guess it's just subjective. You say that you prefer to have the view/template stuff in ruby, and I still prefer them in .html.erb files. It also screws with many html-formatters, or for example, tailwind-css-class-sorter plugins, that just don't pick up .rb files. view_components have a similar way of encapsulating the ruby parts for the components. Anyway, its subjective ;)

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

      agreed!

  • @okoni.alesre
    @okoni.alesre 10 หลายเดือนก่อน

    Покажите пожалуйста больше примеров использования Phlex, чтобы было 100% отказ от ".erb", например как использовать в broadcast replace в моделях after_commit, вывод в collections и т п