Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve conditional performance by memoizing branch widgets #1014

Open
evshi opened this issue Jan 28, 2025 · 0 comments · May be fixed by #1018
Open

Improve conditional performance by memoizing branch widgets #1014

evshi opened this issue Jan 28, 2025 · 0 comments · May be fixed by #1018
Assignees
Labels
p1 High priority

Comments

@evshi
Copy link
Contributor

evshi commented Jan 28, 2025

Is your feature request related to a problem? Please describe.
Currently conditional widget lazily renders the widget when the condition is met.

Describe the solution you'd like
Memoize the widgets in each branch so they don't need to be re-rendered by React.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
This should be helpful when conditionally rendering large widgets like DataGrids.

@evshi evshi added the p1 High priority label Jan 28, 2025
@sagardspeed2 sagardspeed2 linked a pull request Feb 3, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants