PendingMs 0 and shouldPending true #2717
Replies: 3 comments 1 reply
-
maybe? can you please provide a complete minimal example where that matters? |
Beta Was this translation helpful? Give feedback.
-
Looking at the code further, there are setTimeout calls with timeout=0. Could we skip such setTimeout calls (similar to how we handle Infinity timeout)? Suggestion: We could potentially optimize by treating timeout=0 similar to timeout=Infinity, since both are edge cases. This would mean skipping the timeout set up completely when timeout=0. |
Beta Was this translation helpful? Give feedback.
-
I noticed that the Task for handling searchParams updates is quite large/complex. |
Beta Was this translation helpful? Give feedback.
-
I noticed that even with
pendingMs: 0
, shouldPending is stilltrue
. Is this the expected behavior?router/packages/react-router/src/router.ts
Line 2167 in 581ebe3
Beta Was this translation helpful? Give feedback.
All reactions