79685283

Date: 2025-06-30 21:01:48
Score: 2.5
Natty:
Report link

No, calling a custom hook like useEventCallback() inline inside another hook’s argument list doesn’t violate the Rules of Hooks, but it defeats the purpose of referential stability and can lead to unnecessary re-execution.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ASCE