We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3bb221 commit 742170fCopy full SHA for 742170f
packages/use-sync-external-store/src/useSyncExternalStoreExtra.js
@@ -53,7 +53,7 @@ export function useSyncExternalStoreExtra<Snapshot, Selection>(
53
if (isEqual !== undefined) {
54
// Even if the selector has changed, the currently rendered selection
55
// may be equal to the new selection. We should attempt to reuse the
56
- // current value if possible, to preserve downstream memorizations.
+ // current value if possible, to preserve downstream memoizations.
57
if (inst.hasValue) {
58
const currentSelection = inst.value;
59
if (isEqual(currentSelection, nextSelection)) {
0 commit comments