docs icon indicating copy to clipboard operation
docs copied to clipboard

Document where to place static data

Open abitrolly opened this issue 2 years ago • 0 comments

https://vuejs.org/api/options-state.html mentions this.$data` property, which is used to hold reactive data. Holding large JSON lists there probably gives a performance penalty even if the data is not changed and only accessed.

It would be nice to document this "static data" vs "reactive data" in Vue, as well as indicate the best approach to store static data.

Based on https://github.com/vuejs/core/discussions/8749

abitrolly avatar Oct 30 '23 08:10 abitrolly