Results 4 comments of clyan

这个我认为是没有问题的。 原文中的案例如下: ``` const sumRes = computed(() => obj.foo + obj.bar) effect(function effectFn(){ console.log(sumRes.value) }) obj++ ``` 如图4-10, 图中的value ,对应的是 `sumRes.value` , 表示computed的返回值 `sumRes.value` 收集了 `effectFn`,当 `sumRes.value` 改变时 effectFn 重新执行

> > 这个我认为是没有问题的。 原文中的案例如下: > > ``` > > const sumRes = computed(() => obj.foo + obj.bar) > > effect(function effectFn(){ > > console.log(sumRes.value) > > }) > > obj++...

`{{ index > 0 ", " : "" }}{{obj.text}}` {{ index > 0 ", " : "" }} This sentence is missing a question mark, it should be {{ index...

When I need to use the variables in the .env file with the --env variable that comes with webpack, I don't have a good way. Now I have to write...