Angular - State Management
You have this Angular service managing state without NgRx:
Why might this cause issues in a multi-component app?
export class SimpleService {
private data = 0;
setData(value: number) {
this.data = value;
}
getData() {
return this.data;
}
}Why might this cause issues in a multi-component app?
