edison

Results 401 comments of edison

> forEach是不能阻塞的,默认是请求并行发起,所以是同时输出1、2、3。 > > 串行解决方案: > > ```js > async function test() { > for (let i = 0; i < list.length; i++) { > let x = list[i] >...

see https://github.com/vuejs/core/pull/3215

https://github.com/vuejs/core/blob/a95554d35c65e5bfd0bf9d1c5b908ae789345a6d/packages/reactivity-transform/src/reactivityTransform.ts#L29 easy to fix. PR welcome.

see https://github.com/vuejs/core/pull/4339

I feel it's a bug. ```javascript } else { // v-model used on a potentially ref binding in inline mode. // the assignment needs to check whether the binding is...

this seems not to fix #6463. see [demo with your deploy preview](https://deploy-preview-6467--vue-sfc-playground.netlify.app/#eNqlVMuK2zAU/ZWLNuNAZKVQppBxAmE2hW4KU+jGGze+blRsSUiy0zD436uHHSsz09lMNtF9nXPPsexnclAqH3okW1JY7FRbWdyXAqCo+bAHAH920VNvFAoTayHj63MwhV+xbWXBXlS+IapDy4dlNqQfOwUD5c2uJNw8neRZlASYp5x+CQR7jZHSFOxmvblUsERRYY6aKxsaeKektvAcp2tsuMCDuYjjo3QVgcKu09JtdoRGyw7unGl3Dwma1xMrOfMT3tXQ4Hvwb+hxeFXfhv8UN5s3qWyVrea9ADTaXosldlzRqS1Y3eP6atEYD+O09nEGNttl2O23fVNrtsA78t0eBJ7hu1PCDWaZRhOSyRIABu0P3qHsbRZHbqqljZZkqROr3J5QBLiHpTV9yn5/+LTZbFbB1im1mjQBzKdZZSd7YbFODXtvL3viJp/8gx00VWvwShSZZ+Jg5+ijgk3XhqxJFEW7SuV/jBTujQno7vqGginJ1e2SOMk+LsnJWmW2jNWoWnmhSuPA8UzvP99/odR1UdMcqbukl9/a6alzgbblzSWvlGKunGsn0knK0XT0l5Zng9rRl2QyITAxlxxQU42iRo3648wvAF+xB4NKMTpb5if89hckbvlT6rb+z6tJxn8W8mM9)

![image](https://user-images.githubusercontent.com/3705199/184048523-828be645-884b-4fee-9677-bb990462ef22.png) It will add a new text Node after press enter. Vue only patch **the focused text Node** when blur. That's why the textContent is incorrent.

如果 sfc playground 不好复现,建议上传一个最小可复现的仓库,有助于调查问题。

another better workaround: ```javascript watch( () => state.pollingActivated, () => { console.log(state.pollingActivated); }, { flush:'sync' } ); ```