Skip to content

Too much rerender, whole FlexLayout rerender even when I perform some operation inside any tab #496

@VishwaGauravIn

Description

@VishwaGauravIn

Describe the bug

I was trying to improve the performance of my application built using FlexLayout. When I tried using React Profiler, it shows too much rerendering of the whole FlexLayout even when I do anything inside a tab, without affecting any model change.

Is there any way to fix this? As even in the demo website, it rerenders a lot when anything is changed in any one of the tabs.
@nealus @nealatcaplin
Please help with this, Thanks

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Open any website built with FlexLayout (even the demo website works)
  2. Enable React Profiler
  3. perform any action inside a tab
  4. check rerenders

Expected behavior

I expect much less rerenders and action inside a tab should not affect whole Layout.

Operating System

macOS and Windows both

Browser Type?

Chrome

Browser Version

136.0.7103.114

Screenshots or Videos

Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    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