Skip to content

Commit 3ecd47d

Browse files
committed
fix: try to reduce re-renders using useViewModel hook
1 parent bc7cd35 commit 3ecd47d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view-model/view-model.store.base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export class ViewModelStoreBase<VMBase extends AnyViewModel = AnyViewModel>
202202
vmLookup: Maybe<ViewModelLookup<T>>,
203203
): T | null {
204204
// helps to users of this method to better observe changes in view models
205-
this.viewModels.keys();
205+
// this.viewModels.keys();
206206

207207
const id = this.getId(vmLookup);
208208

0 commit comments

Comments
 (0)