Components with Phlex in Rails

Ғылым және технология

► Check out gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails.com
► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorails.com/payments-...

Пікірлер: 8

  • @johncjensen
    @johncjensen4 ай бұрын

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

  • @charb423
    @charb4234 ай бұрын

    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

    4 ай бұрын

    Debugging is probably the most important skill to learn!

  • @WickedAyman
    @WickedAymanАй бұрын

    Looking for an Inertia Rails tutorial :))

  • @CristianMolina
    @CristianMolina4 ай бұрын

    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..

  • @okoni.alesre
    @okoni.alesre4 ай бұрын

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

  • @Frexuz
    @Frexuz4 ай бұрын

    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

    4 ай бұрын

    agreed!

Келесі