Roo-Code/webview-ui/src/components
KJ7LNW bd3a42ed23
perf: optimize code block rendering performance (#3135)
feat: optimize code block rendering performance

Memoize CodeBlock components to prevent unnecessary re-renders:
- Add MemoizedCodeContent for syntax highlighted HTML
- Add MemoizedStyledPre for container element
- Properly type all component props
- Reduce React reconciliation work for complex code blocks

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-04 13:20:33 -07:00
..
chat Fix issues with subtasks attempting completion along with commands (#3156) 2025-05-03 23:57:19 -07:00
common perf: optimize code block rendering performance (#3135) 2025-05-04 13:20:33 -07:00
history Treat HistoryView item clicks as (de)select in selection mode (#3068) 2025-04-30 13:53:41 -04:00
human-relay fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area (#1791) 2025-03-19 00:09:04 -04:00
mcp Refactor: Use path aliases in webview source files. (#2801) 2025-04-20 21:38:08 -04:00
prompts Show 'None' when a mode has no tool groups (#3095) 2025-05-01 13:09:08 -04:00
settings Gemini caching fixes (#3096) 2025-05-02 16:36:22 -07:00
ui Update package-lock.json in webview-ui (#3022) 2025-04-28 22:58:10 -07:00
welcome Feat: Add a new button to import settings on the welcome screen (#2811) 2025-04-28 16:07:35 -07:00