Skip to content

Commit f229204

Browse files
authored
Change MAX_SYNC_UPDATES to 50
In React v16, NESTED_UPDATE_LIMIT is now 50, so the unstable list is not being caught.
1 parent 7ff7d88 commit f229204

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

react-list.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const PASSIVE = (() => {
3232
})() ? {passive: true} : false;
3333

3434
const UNSTABLE_MESSAGE = 'ReactList failed to reach a stable state.';
35-
const MAX_SYNC_UPDATES = 100;
35+
const MAX_SYNC_UPDATES = 50;
3636

3737
const isEqualSubset = (a, b) => {
3838
for (let key in b) if (a[key] !== b[key]) return false;

0 commit comments

Comments
 (0)