File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
libs/core/src/lib/renderer Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,9 @@ export class ReactTemplate<TContext extends object | void> extends React.Compone
8686
8787 // Throttling the detect changes to an empirically selected value so we don't overload too much work.
8888 // TODO: This needs some better solution to listen to changes to the binding sources of the template.
89- this . _ngZoneSubscription = ngZone . onUnstable
90- . pipe ( throttleTime ( TEMPLATE_DETECT_CHANGES_THROTTLE_MS ) )
91- . subscribe ( ( ) => {
92- this . _embeddedViewRef . markForCheck ( ) ;
93- } ) ;
89+ this . _ngZoneSubscription = ngZone . onStable . pipe ( throttleTime ( TEMPLATE_DETECT_CHANGES_THROTTLE_MS ) ) . subscribe ( ( ) => {
90+ this . _embeddedViewRef . detectChanges ( ) ;
91+ } ) ;
9492 }
9593
9694 componentWillUnmount ( ) {
You can’t perform that action at this time.
0 commit comments