mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-07 00:44:56 -05:00
This rule enforces no arrow functions in component props. In practice, it means all functions passed as component props must be wrapped in `useCallback()`. This is a performance optimization to prevent unnecessary rerenders. The rule is added and all violations have been fixed, whew!