Created
October 9, 2021 16:59
-
-
Save przemyslawjanpietrzak/3f1be2daf817bab65a4acaa916b9e91b to your computer and use it in GitHub Desktop.
Improve $destroy performance in Vue #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
computed: { | |
mappedItems() { | |
return this.items.map(item => ({ | |
...item, | |
a: getA(item), | |
b: getB(item), | |
c: getC(item), | |
d: getD(item), | |
e: getE(item), | |
}); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment