Pārlūkot izejas kodu

refactor: remove resolved comments

Kia Ishii 5 gadi atpakaļ
vecāks
revīzija
e354017dd4
2 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0 3
      src/mixin.js
  2. 0 3
      src/store.js

+ 0 - 3
src/mixin.js

@@ -3,9 +3,6 @@ import { storeKey } from './injectKey'
 export default function (app, store, injectKey) {
   app.provide(injectKey || storeKey, store)
 
-  // TODO: Refactor this to use `provide/inject`. It's currently
-  // not possible because Vue 3 doesn't work with `$` prefixed
-  // `provide/inject` at the moment.
   app.mixin({
     beforeCreate () {
       if (!this.parent) {

+ 0 - 3
src/store.js

@@ -260,9 +260,6 @@ function resetStoreState (store, state, hot) {
   const wrappedGetters = store._wrappedGetters
   const computedObj = {}
   forEachValue(wrappedGetters, (fn, key) => {
-    // TODO: Refactor following code and comment. We can simplify many things
-    // using computed function.
-    //
     // use computed to leverage its lazy-caching mechanism
     // direct inline function use will lead to closure preserving oldVm.
     // using partial to return function with only arguments preserved in closure environment.