dify/web/app/components/workflow/skill/start-tab
yyh 32329cf27b
perf(skill): stabilize useCallback refs and memoize filtered list
Use useRef for batchUpload and emitTreeUpdate to remove unstable
dependencies from useCallback, preventing unnecessary memo invalidation
on all 16 TemplateCard components. Wrap filtered list in useMemo and
replace && conditional with ternary for rendering safety.
2026-01-30 16:10:18 +08:00
..
category-tabs refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
templates feat(skill): add script-driven full skill template generation 2026-01-30 16:10:18 +08:00
action-card.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
create-import-section.tsx Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
index.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
section-header.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
skill-templates-section.tsx perf(skill): stabilize useCallback refs and memoize filtered list 2026-01-30 16:10:18 +08:00
template-card.tsx feat(skill): add script-driven full skill template generation 2026-01-30 16:10:18 +08:00
template-search.tsx Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00