JSConf JP

Gradually Breaking Up a Monolithic Frontend by Establishing Boundaries

Sponsor sessionTrack DJapanese

外松俊尚

The frontend with the most active development at Linc'well is a React application that has been developed and operated for about six years. As development accelerated, it grew to a scale involving up to six teams developing in parallel, but the architecture remained monolithic—an extension of its initial state. Meanwhile, the development organization was divided into domain-based teams, while the code remained densely interdependent across team boundaries, making impact analysis difficult and making improvements and challenges involving new technologies equally difficult.

From 2024, we began a project to divide the code by drawing boundaries, referencing modular monolith architecture. We steadily split the code in parallel with day-to-day feature development and completed the migration to the originally targeted state in two years.

In this session, we’ll introduce how we approached this effort, the architecture we actually adopted, the rules that support it, and the changes to our organization and teams that resulted from the split, using concrete examples.