-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[editor][ez] Only Render SidePanel Tab Content When Active Tab
# [editor][ez] Only Render SidePanel Tab Content When Active Tab I noticed each of the tab components was being rendered even when they're not shown. We can improve render perf by only rendering them when their tab is selected. ## Testing: - Just ensure tabs still work - Use console.log to ensure the components are only rendered when shown
- Loading branch information
Ryan Holinshead
committed
Feb 15, 2024
1 parent
2398cca
commit 933df94
Showing
1 changed file
with
42 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters