-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChartView: update code for list-rendering (#513)
During list rendering, `v-for` is used with `v-if` which can increase the file processing time, due to additional checks. Let's follow the Vue style guide[1] by replacing these instances with computed properties, where necessary. Data is only updated when changed, instead of being generated every time. [1]: Vue style guide for avoiding use of v-if with for https://vuejs.org/v2/style-guide/#Avoid-v-if-with-v-for-essential
- Loading branch information
Showing
3 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
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
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
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