Best practices for Vue 3 using Typescript interfaces and reactivity with complex objects

后端 未结 0 1931
长情又很酷
长情又很酷 2021-01-18 10:39

In Vue 3 (Composition API) when dealing with a complex structure that comes from the backend (think nested objects/arrays/tree) I first define the interface(s). For example:

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