feat: cleanup pending timeouts on component unmount - #486
Open
Priyanshu1-62 wants to merge 1 commit into
Open
Annotations
3 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run ESLint:
frontend/src/context/ShopContext.jsx#L221
Unexpected console statement
|
|
Run ESLint:
frontend/src/components/Ai.jsx#L149
The ref value 'timeoutIdsRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'timeoutIdsRef.current' to a variable inside the effect, and use that variable in the cleanup function
|
background
wait
wait-all
cancel
parallel
Loading