You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/3.0-major-release.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ Due to changes in how reactivity is applied to service state (it's now using Vue
31
31
-`user`: returns the reactive, logged-in user from the `userService` specified in the options.
32
32
-`isAuthenticated`: a easy to remember boolean attribute for if the user is logged in.
33
33
34
-
If you depend on a reactive, logged-in user in your apps, here are the steps to fixing the reactivity:
34
+
If you depend on a reactive, logged-in user in your apps, here is how to fix the reactivity:
35
35
36
36
- Replace any reference to `store.state.auth.user` with `store.state.getters('auth/user')`.
37
37
38
-
That's it. :)
38
+
Because the `user` state is no longer reactive, it is logical for it to be removed in the next version. It will likely be replaced by a `userId` attribute in Feathers-Vuex 4.0.
39
39
40
40
41
41
### Server-Side Pagination Support is Off by Default
0 commit comments