I am attempting to save a representation of a class in Vuex, specifically the EditorState
from ProseMirror. The class's properties are mostly unchangeable externally, meaning that any modifications require replacing the existing instance with a new one in Vuex.
Due to this setup, Vue's change tracking is unnecessary and may even disrupt ProseMirror's internal processes. I am exploring ways to shield my object from Vue's influence and ensure it is treated as an isolated entity.