Sergey Gultyayev
1 min readApr 17, 2023

--

Shared module ends up with megabytes of code. It does not make it easier. Later, if you decide to refactor your app it will be way harder as everything is too coupled. Furthermore, bigger bundle size leads not only for longer load times, but also for longer bootstrap as browser needs more time to parse your application.

In the world where all your imports are managed by IDE I don't see it how you as a developer lose any time by using feature modules instead of shared one.

Moreover, bad B2B UX will lead to losses in clients, because no one wants to work with a slow app. Some use slow internet connection and cheap machines and they will suffer even more.

When MS teams takes a tremendous amount of time to load it matters to me. I wouldn't use this if it were for me to decide. Terrible performance.

--

--

Sergey Gultyayev
Sergey Gultyayev

Written by Sergey Gultyayev

A front-end developer who uses Angular as a main framework and loves it

Responses (1)