🚩 (flags) create run once hooks

A custom React hook that ensures a function is executed only once  across the entire application, even in React Strict
Mode or during development hot reloads. Maintains a global registry to track execution status using a unique key.
This commit is contained in:
2025-09-01 19:26:24 +07:00
parent 8d644103d8
commit 1b2709f9eb
2 changed files with 12 additions and 30 deletions

View File