1
0
Эх сурвалжийг харах

refactor: remove unused comments

Kia Ishii 5 жил өмнө
parent
commit
89f058616f
1 өөрчлөгдсөн 0 нэмэгдсэн , 6 устгасан
  1. 0 6
      src/store.js

+ 0 - 6
src/store.js

@@ -273,10 +273,6 @@ function resetStoreState (store, state, hot) {
     })
   })
 
-  // TODO: Refactor the code and remove this comment.
-  //
-  // New impl with reactive. Defining redundunt keys to make it as close as
-  // the old impl api.
   store._state = reactive({
     data: state
   })
@@ -294,8 +290,6 @@ function resetStoreState (store, state, hot) {
         oldState.data = null
       })
     }
-    // TODO: I think we don't need this anymore since we're not using vm?
-    // Vue.nextTick(() => oldVm.$destroy())
   }
 }