DEV Community

Discussion on: Simple state management in Angular with only Services and RxJS

Collapse
 
learnitmyway profile image
David • Edited

Thanks for the article! Some points/questions for someone who is quite new to Angular:

  1. What made you choose to use a view child?
  2. Thank you for including todosTrackFn. Didn't know that existed!
  3. Can the getter and setter be private? Or are they used outside of the store?
  4. Nice work with the optimistic updates!
  5. Since you are defining the todo id in the client, does it need to be optional in the model? Or is it not set somewhere?