The starter theme uses ngrx/store for maintaining state across the application.
This seems to be the grown-up way for preserving data and keeping things testable.
Whilst there is less need for it here (we don't need to pass data between components) the testability argument stands. It might well be more efficient for Angular to pick up DOM changes too...
The starter theme uses ngrx/store for maintaining state across the application.
This seems to be the grown-up way for preserving data and keeping things testable.
Whilst there is less need for it here (we don't need to pass data between components) the testability argument stands. It might well be more efficient for Angular to pick up DOM changes too...