propshaft VS sprockets

Compare propshaft vs sprockets and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
propshaft sprockets
11 4
814 925
2.1% 0.3%
6.8 3.3
16 days ago 17 days ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

propshaft

Posts with mentions or reviews of propshaft. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-12.
  • The Full-Stack development experience
    2 projects | dev.to | 12 Oct 2023
    Ruby On Rails, thanks to propshaft, closes a chapter. Welcome to 2023, where deploying JavaScript and CSS is a breeze. Welcome to the no-build era.
  • A Quick and Easy Guide to the Asset Pipeline in Rails 7
    2 projects | /r/ruby | 14 Sep 2022
    No mention of propshaft which is the true replacement for sprockets: https://github.com/rails/propshaft
  • Gnarly Learnings From June 2022
    2 projects | dev.to | 22 Jun 2022
    Learning about new ways to manipulate data in Ruby is always fun. This article details a way to access hash values as if they were methods via the ActiveSupport::OrderedOptions class. Initially, it wasn't clear why someone would reach for this over the default syntax, but the author pointed out that syntax can be helpful in keeping configuration files clean and readable. Apparently, this can be observed in the wild in the Propshaft (an asset pipeline library) codebase, which uses it to define config.assets in Railtie.
  • How to use Bootstrap 5 in Rails 7 - Importmaps & Sprockets
    2 projects | /r/ruby | 28 Apr 2022
  • How to Access Hash Values Like Methods in Ruby
    2 projects | dev.to | 26 Apr 2022
    Propshaft is an asset pipeline library for Rails. It uses OrderedOptions to define the config.assets settings, instead of creating a new configuration object. You can read the complete source on Github.
  • How to migrate rails sprockets to propshaft
    3 projects | dev.to | 16 Mar 2022
    Propshaft has a smaller scope than sprockets and requires you to rely on the js-bundling and css-bundling gems to handle the building of CSS and JS assets. Read the docs for an extensive upgrade guide.
  • New view helpers for jsbundling ?
    3 projects | /r/rails | 6 Mar 2022
    [They have a replacement in the works for sprockets](https://github.com/rails/propshaft), but I'm ignoring it for now. Just coping with js-bundling and css budling is enough for me.
  • February Gnarly Learnings #1: An Introduction to Propshaft
    2 projects | dev.to | 25 Feb 2022
    What an exciting couple of months it has been for the Rails community! Rails 7 was released in December of 2021 and this month we are welcoming Propshaft. David Heinemeier Hansson (DHH), the creator of Rails, released a post on Feb. 11 introducing the community to the new and improved asset pipeline for Rails. While Propshaft likely won't be the default until at least Rails 8, it promises a simpler solution to asset management over its predecessor, Sprockets. Sprockets, the current default asset pipeline library, has grown increasingly heavy over the years as it has attempted to shoulder all things related to bundling, minifying, transpiling, and compressing. Enabled by the new era of tech that makes Rails 7 possible, Propshaft is touted as being "absolutely tiny" in comparison and aims to provide the following: a configurable load path for your assets, digest stamping for long-expiry cache and better performance, a development server that removes the need to pre-compile assets, and basic compilers instead of full transpilers. Sprockets will require relatively long-term support and will remain the default for now but fret not! You can create a Rails 7+ app using Propshaft, or upgrade an existing app and start using it now.
  • HEY is now running with Propshaft + Dart Sass; no more Sprockets, sass, sassc…
    1 project | /r/rails | 10 Feb 2022
    There’s more info on the GitHub repository, stating
  • Rails 7, import JavaScript from Engine
    3 projects | /r/rails | 27 Jan 2022
    Oh and there's a new option https://github.com/rails/propshaft which will replace sprockets in the future, didn't use it though, but looks promising

sprockets

Posts with mentions or reviews of sprockets. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-01.
  • Ruby on Rails with React on Typescript using importmaps
    3 projects | dev.to | 1 May 2023
    Have you noticed that we used JSX syntax? It is not what the browser understands by default. In Rails, the Sprockets gem is responsible for translating from the languages that developers like to write to the languages that the browser can run. However, it doesn't compile JSX by default. You can learn from the Sprockets fascinating readme on how to befriend it with new file types, but for JSX it is already done by the creator of the jass-react-jsx gem. Therefore, there is no reason to write the code again that is already written and working. It uses Babel, a JavaScript library that converts one JavaScript to another. It requires Node.js to run. I can't imagine a case where you have a Rails app installed but Node.js isn't, but the fact that I can't imagine it doesn't mean that it's impossible. So lets add babel to our app: Console
  • A Quick and Easy Guide to the Asset Pipeline in Rails 7
    2 projects | /r/ruby | 14 Sep 2022
    Sprockets actually does define those tasks: https://github.com/rails/sprockets/blob/main/lib/rake/sprocketstask.rb
  • February Gnarly Learnings #1: An Introduction to Propshaft
    2 projects | dev.to | 25 Feb 2022
    What an exciting couple of months it has been for the Rails community! Rails 7 was released in December of 2021 and this month we are welcoming Propshaft. David Heinemeier Hansson (DHH), the creator of Rails, released a post on Feb. 11 introducing the community to the new and improved asset pipeline for Rails. While Propshaft likely won't be the default until at least Rails 8, it promises a simpler solution to asset management over its predecessor, Sprockets. Sprockets, the current default asset pipeline library, has grown increasingly heavy over the years as it has attempted to shoulder all things related to bundling, minifying, transpiling, and compressing. Enabled by the new era of tech that makes Rails 7 possible, Propshaft is touted as being "absolutely tiny" in comparison and aims to provide the following: a configurable load path for your assets, digest stamping for long-expiry cache and better performance, a development server that removes the need to pre-compile assets, and basic compilers instead of full transpilers. Sprockets will require relatively long-term support and will remain the default for now but fret not! You can create a Rails 7+ app using Propshaft, or upgrade an existing app and start using it now.
  • Using Hotwire Turbo in Rails with legacy JavaScript
    16 projects | dev.to | 23 Apr 2021
    after being in beta for 3 years, Sprockets 4 was released, with support for ES6 and source maps in the asset pipeline (2019), to serve people still hesitant with webpack,

What are some alternatives?

When comparing propshaft and sprockets you can also consider the following projects:

cssbundling-rails - Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.

turbo-rails - Use Turbo in your Ruby on Rails app

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

Turbolinks - Turbolinks makes navigating your web application faster

dartsass-rails - Integrate Dart Sass with the asset pipeline in Rails

Stimulus - A modest JavaScript framework for the HTML you already have

Ruby on Rails - Ruby on Rails

Webpacker - Use Webpack to manage app-like JavaScript modules in Rails

spree_backend - Spree Admin Dashboard

ruby-coffee-script - Ruby CoffeeScript Compiler

factory_bot - A library for setting up Ruby objects as test data.

jquery-ujs - Ruby on Rails unobtrusive scripting adapter for jQuery