If you start working on a medium-size to large web application project for the first time, you will soon realize that sharing CSS and other assets throughout the project may lead to constant bugs, and in general, makes the development process harder than it should be. Imagine when someone from your team adds a global CSS rule in order to add some new functionality on the site but accidentally breaks a couple of existing pages. Even if you start small, as soon as your app becomes more complex, you will face this issue when you need to rethink your web UI architecture and project structure in order to make things more manageable and easy to maintain.
Many companies use a component-based approach to web UI development-an approach where instead of referencing shared styles, media assets, localization files, and so on, developers create standalone components, which can be developed and tested in isolation. These components can be shared and reused across the app...