Our great sponsors
-
turbo
The speed of a single-page web application without having to write any JavaScript (by hotwired)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
ActiveStorage's JS package seems to reuse a lot of Rails-UJS functions but gets none of the benefits of sharing code. Even better, ActiveStorage could share with the package I created, mrujs.
Turbo submit polyfill
ActiveStorage uses the SparkMD5 library for MD5 hashing. I don't know enough about the library to know if MD5 is necessary or if we could use SHA-x hashing or similar. SparkMD5 is roughly 2.5kb and ActiveStorage is ~5kb overall, which means MD5 hashing accounts for roughly half the library.