You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.
60
+
```
61
+
Setting `useFlushSync: false` will eliminate this warning by allowing React to batch updates naturally.
62
+
- **Performance optimization**: If you experience performance issues with rapid scrolling on lower-end devices
63
+
- **Testing environments**: When running tests that don't require synchronous DOM updates
64
+
- **Non-critical lists**: When slight visual delays during scrolling are acceptable for better overall performance
0 commit comments