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: README.md
+99
Original file line number
Diff line number
Diff line change
@@ -1238,6 +1238,105 @@ And delete all files and code related to the original component. Our Angular app
1238
1238
See `tag-07-es6-components`.
1239
1239
1240
1240
1241
+
Bonus #2: free Vue components from Angular services
1242
+
----
1243
+
Now we have got a store we can move on and strip `searchService` of unnecessary parts.
1244
+
For example, the `store.currentDetail` property and the `selectItem(id)` method are exclusively used by the `detail` Vue component. Let's move them from the Angular service to the Vuex store.
0 commit comments