benwatts/shopify-theme-radiance — comment on commit a9fef29bad5097ad1ccb6906451ab01dc6c553a0
File:  line 0
By carolineschnapp:

You can remove an item without JavaScript. There's a GET path for this. Performance-wise, there would be no loss here: there's a page refresh with what themes do already when removing with JavaScript. The GET path is:

/cart/change?id={{ item.id }}&quantity=0

To use it, replace:

Remove

With:

Remove

And remove the JavaScript from radiance.js

This is very safe and very widely used ^.