refactor(Terminal): enhance session management and memoization
- Updated Terminal component to use memoization for performance optimization. - Modified onStatusChange and onCloseSession props to include sessionId for better session tracking. - Refactored TerminalLayer to utilize stable callback references for session management functions. - Cleaned up unnecessary whitespace in TerminalLayer and TopTabs components. - Adjusted index.tsx to improve rendering performance by removing React.StrictMode.
This commit is contained in:
Reference in New Issue
Block a user