]> git.ipfire.org Git - thirdparty/vuejs/router.git/commit
Section about deprecated onDemand and onAbort callback arguments (#2330)
authorSteve König <steve.koenig@outlook.com>
Tue, 6 Aug 2024 06:28:36 +0000 (08:28 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Aug 2024 06:28:36 +0000 (08:28 +0200)
commit9f95fb7b3bb844ab7cd39df0f513bc098c24e92c
tree8d776558d994f7f6afd44b1ac39fb7c97dbdf0d6
parent7d1db18dc45fb24856a75a04dd868ddefcacc94c
Section about deprecated onDemand and onAbort callback arguments (#2330)

* Added deprecated onDemand and onAbort callback arguments to migration guide

The  onDemand and onAbort  callbacks for router.push and .replace were deprecated in v4. I added a section to the migration guide explaining that users should replace them with the thenable Promise the methods return.

* Apply suggestions from code review

* Update packages/docs/guide/migration/index.md [skip ci]

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/docs/guide/migration/index.md