Angular Services: Should I replicate service properties in components?

前端 未结 0 1037
夕颜
夕颜 2021-02-13 22:58

When using it in the view, is there any drawback to not assigning a property living in a service (e.g. an array) to a component\'s own property, and instead accessing serv

相关标签:
回答
  • 消灭零回复
提交回复
热议问题