Skip to content

Commit 144f0b7

Browse files
committed
improve view flags, handle state update in zoneless
1 parent 9d57db0 commit 144f0b7

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Diff for: packages/angular-table/src/flex-render.ts

+6-12
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,14 @@ export class FlexRenderDirective<TProps extends NonNullable<unknown>>
112112
return
113113
}
114114

115-
console.log('go into do check')
116-
117-
// TODO: Optimization for V9 / future updates?. We could check for dirty signal changes when
118-
// we are able to detect whether the table state changes here
119-
// const isChanged =
115+
// TODO: Optimization for V9 / future updates?.
116+
// We could check for dirty signal changes when we are able to detect whether the table state changes here
117+
// const isChanged =
120118
// this.renderFlags &
121119
// (FlexRenderFlags.DirtySignal | FlexRenderFlags.PropsReferenceChanged)
122-
// if (!isChanged) {
123-
// return
124-
// }
125-
// if (this.renderFlags & FlexRenderFlags.DirtySignal) {
126-
// this.renderFlags &= ~FlexRenderFlags.DirtySignal
127-
// return
128-
// }
120+
// if (!isChanged) {
121+
// return
122+
// }
129123

130124
this.renderFlags |= FlexRenderFlags.DirtyCheck
131125
this.checkViewChanges()

0 commit comments

Comments
 (0)