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
Its actually nice. You can keep the render within concerns or helpers. Gotta try it with devise
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.
Yes, yes.. this is the secret sauce of frontend for any public websites
Ayy! Good to see this. Thanks.
Finally got around to covering it 🫡
@@Deanin You always deliver 🫡
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.
Thank you so much for the videos!
as usual deanin coming with new stuff
Great walkthrough
Amazing video ❤
Thank you!
It would have been good to see an example of what this allows you to do compared to a solution like Hotwire
Allows you to hire a regular frontend dev instead of a Hotwire one lol
@@Deanin dude that's hilarious
@@DeaninHotwire frontend dev? You mean a backend dev? 😅
Nice vidéo ! How would you use devise with inertia ?
Very similar from the Hotwired one, but instead of using html.erb, create your views with React
The backend still the same
@@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
I’m getting just a blank page rendered when I start with overmind. The console shows no errors, any ideas ?
Did you follow the exact steps?
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
I think react was created and implemented so front end devs could get more jobs.
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. 🤷♂️
@@Deanin Sad thruth.
Interesting but I'll stick to Hotwire/Stimulus
That works too.
Microsoft Windows made easy with Linux and MacOS
Linux and MacOS made viable with Microsoft Windows.