Migrating from React to Angular: A 'Ship of Theseus' Case Study in Production

Author: Omid Farhang Published: January 1, 2026 Reading Time: 4 min

In the software world, the “Ship of Theseus” paradox is a daily reality. We replace parts of a system until, eventually, none of the original code remains. But usually, the industry moves toward the “shiny new thing.” At work, we did something that might sound like heresy to some: we migrated our core legacy React applications to Angular. This wasn’t a decision made out of fanboyism. It was a strategic move driven by the need for governance, stability, and long-term maintainability in a high-stakes FinTech environment. I’ll explain the architectural “why” and the pragmatic “how” of moving against the grain. ...

Continue Reading Migrating from React to Angular: A 'Ship of Theseus' Case Study in Production

Advanced State Management in React with Recoil: Atom Families, Selectors, and Async Queries

Author: Omid Farhang Published: June 14, 2024 Reading Time: 8 min

Managing state in React applications has evolved significantly, from simple state hooks to sophisticated libraries that handle complex state scenarios. Recoil is a powerful state management library for React that addresses many limitations of traditional state management approaches. It provides a flexible and scalable way to handle state, particularly in large applications. This blog post will explore advanced state management techniques using Recoil, focusing on atom families, selectors, and handling asynchronous queries. ...

Continue Reading Advanced State Management in React with Recoil: Atom Families, Selectors, and Async Queries

Micro Frontends: Working Example

Author: Omid Farhang Published: May 11, 2024 Reading Time: 4 min

We already talked about Why using Micro Frontend and How to use it. But now let’s explorer a working example to understand it better. Building a Micro Frontend Architecture with Qwik, Angular, and React Micro frontend architecture is gaining popularity as a way to develop scalable and modular web applications. By breaking down a monolithic frontend into smaller, independently deployable modules, teams can work more efficiently and scale their applications with ease. In this tutorial, we’ll explore how to build a micro frontend architecture using Qwik as the shell application and integrating Angular and React components as micro frontends. We’ll also utilize Redux for communication between the micro frontends. ...

Continue Reading Micro Frontends: Working Example

Micro Frontends: How?

Author: Omid Farhang Published: May 9, 2024 Reading Time: 3 min

We already talked about Micro Frontends: Why? As web applications grow in complexity, maintaining a consistent tech stack becomes crucial for efficiency and scalability. If you have multiple projects using different frameworks, like Angular and React, unifying them can seem daunting. However, Micro Frontends offer a modern solution to this challenge, allowing you to integrate diverse projects seamlessly. Here’s how you can leverage Micro Frontends to unify your Angular and React projects. ...

Continue Reading Micro Frontends: How?

Micro Frontends: Why?

Author: Omid Farhang Published: May 9, 2024 Reading Time: 5 min

Micro frontends is an architectural pattern for building web applications as a composition of loosely coupled, independently deployable frontend modules. It extends the principles of microservices to the frontend, allowing teams to develop, deploy, and scale parts of the user interface independently. In essence, micro frontends break down a large, monolithic frontend application into smaller, more manageable pieces, each with its own technology stack, development team, and deployment pipeline. Key characteristics of micro frontends Modularity: Micro frontends promote modularity by dividing the user interface into smaller, self-contained units called micro frontends. Each micro frontend represents a cohesive set of features or functionality, allowing teams to focus on developing and maintaining specific parts of the application. ...

Continue Reading Micro Frontends: Why?