Commit Graph

3 Commits

Author SHA1 Message Date
1b2709f9eb 🚩 (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.
2025-09-01 19:26:24 +07:00
8d644103d8 📝 add code documentation 2025-08-31 23:40:14 +07:00
41babd10a1 📦 add skip react srictmode
Adding new hooks as a replacement for `useEffects(() => {}, [])` in React by adding React strict mode safety, which
means that this function will only be executed once, even in development mode.
2025-08-31 23:33:04 +07:00