Created
October 9, 2021 16:59
-
-
Save przemyslawjanpietrzak/0cab816b7a99521fc411dad332cd0aa4 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