Inertia JS on Rails Made Easy with React and Tailwind

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • Run Inertia JS on Rails easily with Vite to choose between React, Vue, and Svelte alongside Tailwind.
    Checkout my course(s) at: learn.deanin.com
    Links:
    evilmartians.c...
    github.com/skr...
    Join this channel to help support these videos:
    / @deanin
    Follow me on social media:
    linktr.ee/deanin
    If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
    #Deanin #Software #Programming

Комментарии • 31

  • @mosaka1471
    @mosaka1471 7 месяцев назад +5

    Its actually nice. You can keep the render within concerns or helpers. Gotta try it with devise

  • @BorisBarroso
    @BorisBarroso 5 дней назад

    InertiaJS is really good. I have been using inertia and I prefer over hotwire. I have used hotwire in 2022 when rails 7 came for a project and I did not like the experience in the beginning it seemed like a good choice but after some time I regretted. I like using inertia with svelte.

  • @gurulabss
    @gurulabss 7 месяцев назад +6

    Yes, yes.. this is the secret sauce of frontend for any public websites

  • @samuelodan2376
    @samuelodan2376 7 месяцев назад +2

    Ayy! Good to see this. Thanks.

    • @Deanin
      @Deanin  7 месяцев назад +1

      Finally got around to covering it 🫡

    • @samuelodan2376
      @samuelodan2376 7 месяцев назад +2

      @@Deanin You always deliver 🫡

  • @jeremyweasley8079
    @jeremyweasley8079 7 месяцев назад +4

    wow, it's like a rails version of NextJS (for React) or NuxtJS (for Vue) frameworks. Also I will dig into the document to see if it can co-exist with my current hotwire code, especially with Turbo Native and Strada.

  • @ZenoKoninckx04
    @ZenoKoninckx04 7 месяцев назад

    Thank you so much for the videos!

  • @developerfoe
    @developerfoe 7 месяцев назад

    as usual deanin coming with new stuff

  • @mikopiko
    @mikopiko 6 месяцев назад

    Great walkthrough

  • @pedroa5720
    @pedroa5720 7 месяцев назад +2

    Amazing video ❤

    • @Deanin
      @Deanin  7 месяцев назад

      Thank you!

  • @Justinallenmarsh
    @Justinallenmarsh 7 месяцев назад +2

    It would have been good to see an example of what this allows you to do compared to a solution like Hotwire

    • @Deanin
      @Deanin  7 месяцев назад +5

      Allows you to hire a regular frontend dev instead of a Hotwire one lol

    • @seriouslyiknowhowtoread
      @seriouslyiknowhowtoread 7 месяцев назад +2

      @@Deanin dude that's hilarious

    • @SeanLazer
      @SeanLazer 6 месяцев назад

      @@DeaninHotwire frontend dev? You mean a backend dev? 😅

  • @marccombarel3087
    @marccombarel3087 7 месяцев назад +1

    Nice vidéo ! How would you use devise with inertia ?

    • @pedroa5720
      @pedroa5720 7 месяцев назад +3

      Very similar from the Hotwired one, but instead of using html.erb, create your views with React

    • @pedroa5720
      @pedroa5720 7 месяцев назад +1

      The backend still the same

    • @WickedAyman
      @WickedAyman 7 месяцев назад

      @@pedroa5720 Hey Pedro! I recognize you from github and your contribution to inertia rails :) How would you go about adding typescript (using tsx instead)? I tried and ended in a nonworking mess xD

  • @philsmithies
    @philsmithies 7 месяцев назад

    I’m getting just a blank page rendered when I start with overmind. The console shows no errors, any ideas ?

    • @mikopiko
      @mikopiko 6 месяцев назад

      Did you follow the exact steps?

  • @danielb.2873
    @danielb.2873 7 месяцев назад +2

    I think that instead of inventing more and more tools to implement "modern" js frameworks like React (which imho really sucks), we as the Rails community should rather offer an alternative, more lightweight and performant approach, which actually already exists with Turbo and Stimulus Reflex. That should get promoted instead of putting the Bad into the Good. I'm sure you already have a video on this, gonna check

    • @seriouslyiknowhowtoread
      @seriouslyiknowhowtoread 7 месяцев назад +3

      I think react was created and implemented so front end devs could get more jobs.

    • @Deanin
      @Deanin  7 месяцев назад +3

      Yeah this is great in theory, but in practice people are hiring for these tech stacks. Or they just want to do their hobby projects like this. And my opinions shouldn't stand in their way. 🤷‍♂️

    • @danielb.2873
      @danielb.2873 7 месяцев назад +2

      @@Deanin Sad thruth.

  • @pangeli
    @pangeli 7 месяцев назад

    Interesting but I'll stick to Hotwire/Stimulus

  • @JaredFL
    @JaredFL 7 месяцев назад

    Microsoft Windows made easy with Linux and MacOS

    • @Deanin
      @Deanin  7 месяцев назад +1

      Linux and MacOS made viable with Microsoft Windows.