News for hackers. Stuff that matters.
Re:Choosing Ruby on Rails for web development project in 2019 by fouc on Wednesday May 29, 2019 @10:55AM (#20040898)
I did Rails + Mithril.js (5kb react-like SPA) and then switched to Rails + Turbolinks + a mix of vanilla js, stimulus.js, and abusing ajax & js.erb.

The biggest things I miss from the original setup:

1) it's easy to write integration tests when rails is nothing but an api

2) components. it's just way easier & nicer to work with than rails views/partials.

I thought rails + turbolinks + stimulus etc would be simpler in terms of code/maintainability, but I'm not so sure anymore.

There are no comments on this comment yet.