Setting Up the Signals-First Shopping Cart App
摘要
To build a Signals-first Angular application, we need more than a few signal() calls sprinkled across components. We need to rethink how we structure, encapsulate, and propagate state. This chapter lays the foundation for a shopping cart application that will evolve throughout the book, and every decision here, from folder layout to state management, will shape the reactivity model used in the rest of the project.