Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document where to place static data #2554

Open
abitrolly opened this issue Oct 30, 2023 · 0 comments
Open

Document where to place static data #2554

abitrolly opened this issue Oct 30, 2023 · 0 comments

Comments

@abitrolly
Copy link

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 vuejs/core#8749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant