diff --git a/packages/@glimmer/validator/index.ts b/packages/@glimmer/validator/index.ts index 6cacb531d0..dcc76eee4a 100644 --- a/packages/@glimmer/validator/index.ts +++ b/packages/@glimmer/validator/index.ts @@ -37,7 +37,6 @@ export { beginTrackFrame, endTrackFrame, consumeTag, - EPOCH, isTracking, track, trackedData, diff --git a/packages/@glimmer/validator/lib/tracking.ts b/packages/@glimmer/validator/lib/tracking.ts index a0fcb36f20..29fca93687 100644 --- a/packages/@glimmer/validator/lib/tracking.ts +++ b/packages/@glimmer/validator/lib/tracking.ts @@ -1,14 +1,5 @@ import { DEBUG } from '@glimmer/env'; -import { - Tag, - combine, - createTag, - dirtyTag, - CONSTANT_TAG, - validateTag, - Revision, - valueForTag, -} from './validators'; +import { Tag, combine, CONSTANT_TAG, validateTag, Revision, valueForTag } from './validators'; import { tagFor, dirtyTagFor } from './meta'; import { markTagAsConsumed, runInAutotrackingTransaction, assertTagNotConsumed } from './debug'; @@ -207,8 +198,6 @@ export function untrack(callback: () => void) { ////////// -export const EPOCH = createTag(); - export type Getter = (self: T) => T[K] | undefined; export type Setter = (self: T, value: T[K]) => void; @@ -240,7 +229,6 @@ export function trackedData( assertTagNotConsumed!(tagFor(self, key), self, key, true); } - dirtyTag(EPOCH); dirtyTagFor(self, key); values.set(self, value); }