HackerTrans
トップ新着トレンドコメント過去質問紹介求人

gemakelijk

no profile record

コメント

gemakelijk
·8 か月前·議論
The pages loads for me but I see a "Cannot retrieve latest commit at this time." message.
gemakelijk
·8 か月前·議論
This reminds me of react more than vue.

When there is a change, the setup function is executed and the virtual dom of the component is recomputed. You have no choice because it is a return in a function (setup/build).

But in Vue3, if a ref is only used in an html tag the compiler will optimize it to not recalculate the whole virtual dom.

Or shall I say, vue with jsx