RailsConf 2023 - Hotwiring My React Brain by Aji Slater

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 11

  • @KurtMueller
    @KurtMueller 10 місяців тому +5

    Talk starts at 12:00

    • @GregRippetoe
      @GregRippetoe 6 місяців тому

      Ruby programmers are huge blabbermouths. Instead of getting to the point, they like to waste people's time with nonsense first.

  • @pedroa5720
    @pedroa5720 Рік тому +5

    Amazing talk!!

  • @joy-of-diy
    @joy-of-diy Рік тому +7

    Been wondering, why so many still tend to use the overcomplicated react (for most implementations) over this beauty know as hotwire + stimulus. Maybe its just lack of awareness or sunk cost in terms of js implemented code base and devs. What y'all think?

    • @revscat
      @revscat 10 місяців тому +2

      Sunk cost, mainly. There are few if any benefits to using client-side JS frameworks such as React or Angular. I feel that the pendulum is swinging away from those, however, and towards things like Hotwire or HTMX.

    • @GregRippetoe
      @GregRippetoe 6 місяців тому

      React is simply better and more maintainable. Sure, it requires more work sometimes but maintainability is much more important than a little complexity

    • @joy-of-diy
      @joy-of-diy 6 місяців тому

      @@GregRippetoe No offense intended. But are you trying to say React code which is full of 3rd party dependencies is more maintainable than rails view files which are mostly just html with some Ruby sprinkled in it

    • @GregRippetoe
      @GregRippetoe 6 місяців тому

      @@joy-of-diy Rails projects have a ton of dependencies too. That's how open source works. No offense but you sound like an inexperienced developer. You need to gain more experience before talking about tech stacks.

    • @joy-of-diy
      @joy-of-diy 6 місяців тому

      I have sufficient experience to differ from you on this. Pick any 2-4 year old rails app and another React app with any backend, try booting and see which one runs without any dependency errors. Pretty sure the rails app will work as is, React app on the other end is highly unlikely. React has its pros but maintainable aint one of them when it comes to comparison with a rails app ✌️✌️

  • @therealunclexavier
    @therealunclexavier 11 місяців тому

    Where is the github link