mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
3a0ec635c9
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! |
||
---|---|---|
.. | ||
app | ||
assets/images | ||
common | ||
features | ||
mantine-theme | ||
services | ||
theme | ||
i18.d.ts | ||
i18n.ts | ||
index.ts | ||
main.tsx | ||
vite-env.d.ts |