InvokeAI/invokeai/frontend/web/src/features/changeBoardModal/components
psychedelicious 3a0ec635c9 feat(ui): add eslint rule react/jsx-no-bind
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!
2023-11-13 10:01:14 +11:00
..
ChangeBoardModal.tsx feat(ui): add eslint rule react/jsx-no-bind 2023-11-13 10:01:14 +11:00