Company
Date Published
Author
Austin Whittier
Word count
1915
Language
English
Hacker News points
None

Summary

A year ago, the team faced challenges with their front-end, which was built using Backbone, TypeScript, and a custom state management layer, making it difficult to ship features quickly. They aimed to transition to a React and MobX architecture but could not afford a complete rewrite without delaying new features. By adopting a piece-by-piece migration strategy, they successfully introduced React components while maintaining legacy code through innovative shims and patterns that integrated React with Marionette views. This approach allowed them to gradually shift to MobX for state management, which offered a seamless API and maintained compatibility with existing Backbone views. Throughout this process, they developed tools to ensure a smooth transition, enabling the construction of new functionalities at a fast pace without compromising architectural integrity. The team remains enthusiastic about their progress and is eager to share further insights on their migration journey, signaling a future post about using Storybook and handling styling challenges. Additionally, they invite others with similar experiences to connect and explore opportunities to join their expanding team.