Commit Graph

5 Commits

Author SHA1 Message Date
15c9599ce7 🔒 (security) security improvement 2025-10-10 23:57:09 +07:00
0c45eb69dc 💡 (docs) add documentation for runOnce hook 2025-09-01 19:29:30 +07:00
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