0

I'm using the scrollBehavior(to, from, savedPosition) function of vue-router.

I have the following output for to.params:

{videoId: "18764"}

and the following for from.params:

{videoId: "18764"}

however the following console.log(to.params !== from.params)

returns true

Why is this?

Ricky Barnett
  • 1,130
  • 3
  • 15
  • 32

0 Answers0