]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: remove outdated missing features
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Jul 2020 21:23:10 +0000 (23:23 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Jul 2020 21:23:10 +0000 (23:23 +0200)
README.md

index a6247bc6aa2ea15a7b5d2f8421dbd78bdeee0d26..d639e5222a6891998b054726a71172cfa85eb4ec 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,8 +29,9 @@ Check the [playground](https://github.com/vuejs/vue-router-next/tree/master/play
 - `router.match` and `router.resolve` are merged together into `router.resolve` with a slightly different signature. Check it's typing through autocomplete or [Router's `resolve` method](https://github.com/vuejs/vue-router-next/blob/master/src/router.ts)
 - `router.getMatchedComponents` is now removed as they can be retrieved from `router.currentRoute.value.matched`:
   ```js
-  router.currentRoute.value.matched
-    .flatMap(record => Object.values(record.components))
+  router.currentRoute.value.matched.flatMap(record =>
+    Object.values(record.components)
+  )
   ```
 - If you use a `transition`, you may need to wait for the router to be _ready_ before mounting the app:
   ```js
@@ -113,11 +114,6 @@ These are technically breaking changes but they fix an inconsistent behavior.
   ```
   Note this will work if `path` was `/parent/` as the relative location `home` to `/parent/` is indeed `/parent/home` but the relative location of `home` to `/parent` is `/home`
 
-### Missing features
-
-- `KeepAlive` is only partially supported. Namely, the context (`this`) is not working properly
-- Partial support of per-component navigation guards. `beforeRouteEnter` doesn't invoke its callback
-
 ## Contributing
 
 See [Contributing Guide](https://github.com/vuejs/vue-router-next/blob/master/.github/contributing.md).