File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1847,6 +1847,8 @@ function updateStoreInstance<T>(
18471847 // snapsho and getSnapshot values to bail out. We need to check one more time.
18481848 if ( checkIfSnapshotChanged ( inst ) ) {
18491849 // Force a re-render.
1850+ // We intentionally don't log update times and stacks here because this
1851+ // was not an external trigger but rather an internal one.
18501852 forceStoreRerender ( fiber ) ;
18511853 }
18521854}
@@ -1861,6 +1863,7 @@ function subscribeToStore<T>(
18611863 // read from the store.
18621864 if ( checkIfSnapshotChanged ( inst ) ) {
18631865 // Force a re-render.
1866+ startUpdateTimerByLane ( SyncLane , 'updateSyncExternalStore()' ) ;
18641867 forceStoreRerender ( fiber ) ;
18651868 }
18661869 } ;
You can’t perform that action at this time.
0 commit comments