ISO 19794-2 by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Fingerprint imaging by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Fingerprint minutiae by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Biometrics by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Human phenotype by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
A Conversation Between God and Man by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Video 1.
A Conversation Between God and Man performed by Ding Chengyun
. Source.
Be a marginal, be a hero by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
This became a flag for the dissidents.
https://upload.wikimedia.org/wikipedia/pt/b/b6/Seja_marginal_seja_herói.jpg
United States Navy by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Texas by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
Oregon by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
nodejs/next/ref-twice by Ciro Santilli 37 Created 2024-08-27 Updated 2025-07-16
This is a minimal reproducible example for the terrible problem of external effects applying twice to refs for effects that are not idempotent and thus blowup if applied twice.
The issue is currently discussed at: react.dev/learn/synchronizing-with-effects#step-3-add-cleanup-if-needed (archive) which says "you need to cleanup the thing yourself". web.archive.org/web/20240720100401/https://react.dev/learn/synchronizing-with-effects#subscribing-to-events is also says that for the specific case of addEventListener.
But that's annoying! Can't we just somehow tell if we applied twice or not to avoid having to implement a cleanup? What if a third party system does not provide a cleanup at all?
Is the correct solution to just just have a useEffect with empty dependency list? Seems to be good according to posts and to ESLint!

Unlisted articles are being shown, click here to show only listed articles.