Skip to content

Commit e28dd02

Browse files
committed
readme
1 parent cbf7895 commit e28dd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sync(store, router) // done.
3131

3232
- When the router navigates to a new route, the store's state is updated.
3333

34-
- **`store.state.route` is immutable, because it is derived state from the URL, which is the source of truth**. You should not attempt to trigger navigations by mutating the route object. Instead, just call `$router.go()`.
34+
- **`store.state.route` is immutable, because it is derived state from the URL, which is the source of truth**. You should not attempt to trigger navigations by mutating the route object. Instead, just call `$router.go()`. Note that you can do `$router.go({ query: {...}})` to update the query string on the current path.
3535

3636
### License
3737

0 commit comments

Comments
 (0)