3 ms·
> I’m sad about the move to mounds of JavaScript. Nothing can match the productivity of simple_form and bootstrap. You might like some of the recent Rails 7 pr
by scrose 5y ago
> I’m sad about the move to mounds of JavaScript. Nothing can match the productivity of simple_form and bootstrap.
You might like some of the recent Rails 7 previews. I believe they’re removing Webpack out of the box and trying to simplify things on that end[0].
[0] https://weblog.rubyonrails.org/2021/9/15/Rails-7-0-alpha-1-released/ https://weblog.rubyonrails.org/2021/9/15/Rails-7-0-alpha-1-r...
- clairity 5y agoto me, this is what makes the upcoming rails 7 release really exciting: no more node, npm, webpack, & yarn! all that js tooling complexity thrown right out the window, replaced with the much simpler set of es6 modules, turbo & stimulus (and maybe strada too).
- Lio 5y agoThere seem to a lot of ruby pieces falling into place for Rails 7. The Achilles Heel of Hotwire apps has previously been the low number of supported websocket connections and high memory usage when using ActionCable and Puma but I have high hopes that Falcon[1] will take care of that. That along with Github's View Components[2] and Tailwind make me really please with the way Rails is heading right now. 1. https://github.com/socketry/falcon https://github.com/socketry/falcon 2. https://github.com/github/view_component https://github.com/github/view_component
- clairity 5y agoyes, websocket connections/memory use was a problem, will have to take a look at falcon. i'm personally not a fan of tailwind (or bootstrap) for being overly/cryptically verbose, but i understand why it's popular when coupled with view components, which do seem useful.