Is there a way to redirect pages in Vue.js without refreshing the page while also keeping the component alive? I've tried using JSON.stringify(vnode)
to store the vnode but I keep getting a TypeError: Converting circular structure to JSON error.
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'VueComponent'
I need to find a way to persist the vnode even after redirecting to another page, as using JavaScript variables won't work since they become null upon redirection. Is there a way to store the vnode indefinitely in the browser?
Your help is much appreciated!