Skip to content

Commit e354017

Browse files
committed
refactor: remove resolved comments
1 parent 89f0586 commit e354017

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/mixin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import { storeKey } from './injectKey'
33
export default function (app, store, injectKey) {
44
app.provide(injectKey || storeKey, store)
55

6-
// TODO: Refactor this to use `provide/inject`. It's currently
7-
// not possible because Vue 3 doesn't work with `$` prefixed
8-
// `provide/inject` at the moment.
96
app.mixin({
107
beforeCreate () {
118
if (!this.parent) {

src/store.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,6 @@ function resetStoreState (store, state, hot) {
260260
const wrappedGetters = store._wrappedGetters
261261
const computedObj = {}
262262
forEachValue(wrappedGetters, (fn, key) => {
263-
// TODO: Refactor following code and comment. We can simplify many things
264-
// using computed function.
265-
//
266263
// use computed to leverage its lazy-caching mechanism
267264
// direct inline function use will lead to closure preserving oldVm.
268265
// using partial to return function with only arguments preserved in closure environment.

0 commit comments

Comments
 (0)