原文 when we have a provided reactive object, we want to prevent mutating it where it's injected. 的意思,应该是说一个 provide 响应式对象在被 inject 到子组件之后,不希望这个响应式对象被子组件改变(单向数据流思想)。
Proposed Solution
原翻译 我们不想让它在注入的时候被改变 感觉对应的是 we want to prevent mutating it where it's injecting。所以注入的时候应该不会被改变,而是注入之后被子组件某个操作改变。更改为 我们不想让它在注入之后被改变 更合理
Description of Problem
原文
when we have a provided reactive object, we want to prevent mutating it where it's injected.
的意思,应该是说一个provide
响应式对象在被inject
到子组件之后,不希望这个响应式对象被子组件改变(单向数据流思想)。Proposed Solution
原翻译
我们不想让它在注入的时候被改变
感觉对应的是we want to prevent mutating it where it's injecting
。所以注入的时候应该不会被改变,而是注入之后被子组件某个操作改变。更改为我们不想让它在注入之后被改变
更合理Additional Information
个人愚见,如有误解望各位雅正。