On building a framework-agnostic Ruby gem (and making sure it doesn’t break)
10-Apr-2026 267
What I learned supporting ERB, React, and Vue from a single Ruby gem. And how I keep it from breaking with automated iOS tests.Ruby Native needs to work with ERB, React, and Vue. That’s three frameworks, three sets of conventions, and three ways developers expect an API to feel. And every new feature needs to ship across all of them without breaking the others.
This week I added a native navbar, and it was the first real test of whether this approach scales. Here’s what I’ve learned about keeping an API clean across frameworks, and how I’m catching regressions.
On building a framework-agnostic Ruby gem (and making sure it doesn’t break) #ruby #rubydeveloper #rubyonrails #building #framework-agnostic #making #doesn’t #break) #framework-agnostic #gem https://rubyonrails.ba/link/on-building-a-framework-agnostic-ruby-gem-and-making-sure-it-doesn-t-break