Framework Fatigue: Fernando Herrera Urges Agnostic Architectures in Rapidly Evolving JavaScript Landscape

Veteran software developer Fernando Herrera recently delivered a compelling address on the growing issue of “framework fatigue” within the JavaScript ecosystem, underscoring the relentless pace of technological evolution. Drawing from over 22 years of experience, including early work with jQuery, PhoneGap (FAUP), and Angular JS, Herrera detailed how once-revolutionary frameworks like Angular, Vue, Svelte, and Next.js have introduced increasing complexity through their rapid updates and divergent architectural patterns (e.g., Angular’s standalone components vs. modules, Vue’s Options API vs. Composition API, Next.js’s Pages Router vs. App Router). He posited that while these advancements often introduce powerful features like server components, image optimization, and improved caching, they frequently lead to significant migration challenges and the “hero to villain” phenomenon, where a framework’s growth eventually makes it unwieldy for developers.

Herrera emphasized the difficulty of maintaining code in such a dynamic environment, likening the dilemma to a “vendor lock-in” anti-pattern where business logic becomes inextricably tied to a specific framework’s exclusive features. This entanglement makes migrations costly and can lead to significant technical debt. To counter this, he strongly advocated for framework-agnostic architectures, promoting the extraction of business logic into pure functions or classes with minimal external dependencies. This approach ensures greater portability, allowing developers to treat frameworks as mere “glue” or “adapters” rather than core components of their application’s logic. Herrera introduced the “bailout rule”—measuring the cost of divorcing a framework before committing to it—and urged developers to prioritize making their core logic 99-100% portable. He concluded by advising developers to specialize in technologies that sustain their careers while remaining informed about emerging “hero” frameworks like Solid, Qwik, TanStack Start, and HTMX, and to leverage AI tools responsibly by guiding them to adhere to framework-agnostic principles.