Rebuilding ActiveStorage: First Impressions

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • mrujs

    UJS for modern javascript.

  • 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

    The speed of a single-page web application without having to write any JavaScript (by hotwired)

  • Turbo submit polyfill

  • 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.

    SurveyJS logo
  • js-spark-md5

    Lightning fast normal and incremental md5 for javascript

  • 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.

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