Modularity is a crucial aspect of any architecture. The same applies to frontend applications.
Keeping track of dependencies and maintaining a clear overview of classes and functions can be overwhelming. Fortunately, there are tools that can help automate this process.
In my talk, I'll demonstrate common tools, like nx or dependency cruiser. The main focus, though, will be a new tool which is called Sheriff.
Furthermore, I will present a reference architecture based on Domain-Driven Design (DDD), which is widely adopted in frameworks like Angular. This architecture, combined with the accompanying Sheriff configuration, provides a practical and effective approach to structuring frontend applications.