In Vue.js (v2), hoow do I prevent the sudden flash of old data, when there is only computed data?

I have a component that contains only computed data. When I navigate away from the page, and go back to the page with a different URL, the old data is displayed for a second while the new data is calculated. How do i prevent this flash of old data?

I tried

  • wrapping it a KeepAlive component with the key set to the id of a param
  • using vm.destroy()
  • toying around with other ways to delete the component and computed properties