News for hackers. Stuff that matters.
Re:Don't make me think, or why I switched to Rails from Java... by bugeats on Friday February 04, 2022 @11:56AM (#30209329)
The `create-react-app` project has existed for years, and gives you a standardized stack the bundles and boots with a single command.

Rails 7 has abandoned JS bundling in favor of using somebody else's CDN. Have fun with that.

Re:Don't make me think, or why I switched to Rails from Java... by mikebowman on Friday February 04, 2022 @02:29PM (#30211707)
> Rails 7 has abandoned JS bundling in favor of using somebody else's CDN. Have fun with that.

This isn't true. You can vendor your JS libraries and Rails will bundle them for you. It uses jsbundling-rails[1] to handle that.

https://youtu.be/mpWFrUwAN88?t=772

[1]https://github.com/rails/jsbundling-rails