yuluo-yx opened a new pull request, #2906: URL: https://github.com/apache/rocketmq-dashboard/pull/2906
## Summary\n- store the active polling promise in a hook-level ref instead of an effect-local boolean\n- retain the no-overlap guarantee when the callback or interval recreates the effect\n- clear the guard only from the promise that currently owns it\n\n## Verification\n- Rerender regression test failed before the fix because the replacement callback overlapped the pending request\n- npm test -- --run src/hooks/useVisiblePolling.test.tsx (5 passed)\n- Prettier check passed\n- ESLint passed\n- Scope: 2 files, 49 changed lines\n\nFixes #2901 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
