Controlling pivotItem re-renders
this will prevent filled forms to re-render on pivotitems swith ...
Pivot
Hi @Temkit, if I'm understanding correctly you would basically like persistent and non-persistent scenarios for the Pivot
component right?
@jdhuntington what do you think about this feature request?
Having a non-persistent options would be great because react should do the work of deciding when to re-mount the child components which is likely form elements. Currently, it's a complete re-render so we're losing the states. This means the child components in PivotItem require props and a stateful component above Pivot. Also, rendering resource is taken.
For instance: uncontrolled components like Dropdown for currently selected keys.
this would be great feature, no need to mount/unmount component when switching PivotItem @khmakoto
:tada:This issue was addressed in #12779, which has now been successfully released as [email protected]
.:tada:
Handy links:
Most helpful comment
Hi @Temkit, if I'm understanding correctly you would basically like persistent and non-persistent scenarios for the
Pivot
component right?@jdhuntington what do you think about this feature request?