Skip to content

Memoize callbacks and values for AI chat #956

@curran

Description

@curran

Since the AI chat component re-renders frequently, let's fully utilize useCallback and useMemo wherever possible to optimize performance. This is a problem specifically with the modules in src/client/VZSidebar/AIChat.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions