DEV Community


Discussion on: When to avoid VueJs Computed Properties for greater performance

pecus profile image
Matteo Fogli Author

Good point! That’s indeed correct. Both are mentioned in the documentation and serve different purposes. v-once removes the node from diffing in virtual-DOM, while Object.freeze() effectively prevents from tracking reactivity (akin to what was exemplified in the article).