Skip to content

Improve conditional performance by memoizing branch widgets #1014

Description

@evshi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

p1High priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions