We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797927e commit f30c5a6Copy full SHA for f30c5a6
1 file changed
packages/react-reconciler/src/ReactFiberHooks.js
@@ -1847,6 +1847,8 @@ function updateStoreInstance<T>(
1847
// snapsho and getSnapshot values to bail out. We need to check one more time.
1848
if (checkIfSnapshotChanged(inst)) {
1849
// 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.
1852
forceStoreRerender(fiber);
1853
}
1854
@@ -1861,6 +1863,7 @@ function subscribeToStore<T>(
1861
1863
// read from the store.
1862
1864
1865
1866
+ startUpdateTimerByLane(SyncLane, 'updateSyncExternalStore()');
1867
1868
1869
};
0 commit comments