You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v-memo is a more general API, the user experience will be somewhat different because you need to specify content other than id, such as item.label.
So what are your thoughts on this? Feel free to discuss.
The text was updated successfully, but these errors were encountered:
Discuss whether
createSelector
is needed to optimize performance.Using functions like
createSelector
can reduce the time complexity of the select row item in the benchmark fromO(n)
toO(1)
.Use
createSelector
in other frameworksHere is some information about
createSelector
in other frameworks:SolidJS -- createSelector
VueRX JSX -- createSelector
The simple attempts of createSelector with Vapor -- perf: improve vue-vapor test code krausest/js-framework-benchmark#1729
Use
v-memo
in VueIt is important to note when using
v-memo
in Vue. We can achieve a similar effect:Since v-memo is a more general API, the user experience will be somewhat different because you need to specify content other than
id
, such asitem.label
.So what are your thoughts on this? Feel free to discuss.
The text was updated successfully, but these errors were encountered: