2 ms·
I am hoping for a renaissance of Rails + HTMX with some sprinkles of JS on very interactive pages. Using Rails with Slim/HAML is an absolute bliss. If you pref
by Draiken 3y ago
I am hoping for a renaissance of Rails + HTMX with some sprinkles of JS on very interactive pages.
Using Rails with Slim/HAML is an absolute bliss. If you prefer there are also libraries like `ViewComponents` that can facilitate partial rendering even further. Add in some web components and you can build very interactive pages with it. Even use React if you really need it in specific pages.
HATEOAS cuts the complexity of applications drastically. And if you still need APIs, it's extremely easy to respond to different mime types and even have the same endpoints if you desire.
IME the majority of applications that use React don't need it at all. They use React for a couple of menus that have to pop ups. So hopefully once some larger apps start popping up with no React (or only sprinkles of it), it finally clicks for some people how unnecessarily complex our applications are today.
But I already read comments saying they need to switch to React because everyone else uses it. SMH.
One can dream!