You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
propshaft is a lighter and more modern replacement for sprockets.
The case for making this change
We use shakapacker for all CSS and JS processing so this should just be a drop-in replacement. There is nothing currently broken about sprockets but it seems like propshaft is the future so we should nudge devs away from relying on any of the features it provides that propshaft does not.
I tried this on a client project and it seemed to be as simple as just replacing the sprockets gem with propshaft.
propshaft is a lighter and more modern replacement for sprockets.
The case for making this change
We use shakapacker for all CSS and JS processing so this should just be a drop-in replacement. There is nothing currently broken about sprockets but it seems like propshaft is the future so we should nudge devs away from relying on any of the features it provides that propshaft does not.
I tried this on a client project and it seemed to be as simple as just replacing the
sprockets
gem withpropshaft
.The case against making this change
The official rails assets guide still uses sprockets so using propshaft might cause some confusion.
The text was updated successfully, but these errors were encountered: