Where to put Javascript files in Rails 7

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • shakapacker

    Use Webpack to manage app-like JavaScript modules in Rails

  • You should consider if you want to use Shakapacker (https://github.com/shakacode/shakapacker) for more JS intensive applications, or stick to the asset pipeline of jsbundling-rails. You can compare here: https://github.com/rails/jsbundling-rails/blob/main/docs/comparison_with_webpacker.md

  • jsbundling-rails

    Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.

  • You should consider if you want to use Shakapacker (https://github.com/shakacode/shakapacker) for more JS intensive applications, or stick to the asset pipeline of jsbundling-rails. You can compare here: https://github.com/rails/jsbundling-rails/blob/main/docs/comparison_with_webpacker.md

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts