Glimmer 组件更改检测未生效 - @tracked 数组中属性突变

I believe when you track an array like described in OP you’re tracking the array reference and not changes to the individual objects within the array

Another way to handle it is using trackedObject, we use this in a handful of places throughout Discourse

3 个赞