Openbravo Issue Tracking System - POS2
View Issue Details
0049917POS2Corepublic2022-08-01 09:282022-08-01 09:28
cberner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
No
0049917: Grid DetailRow elements are rerendered on almost any action
DetailRow components provided to a DataGrid are rerendered due to them being a function that gets recalculated on each re-render of the parent or one of the siblings.

This should be handled with a useMemo react hook if possible, to minimize the amount of re-renders that happen and reduce the impact on performance when the grid has many of this rows.

An example of performance degradation can be found in Service Add Associations flow, explained in the steps to reproduce, but it is probably not the only case.
1. Login WebPOS
2. Search for product GPS Handheld and add one
3. Click on the Related Services button of the GPS Handheld, and add any of the two products shown
4. Click on the service product added, and then on Add Associations. Check that selecting any row or collapsing one of them, is pretty slow on performance.
No tags attached.
Issue History
2022-08-01 09:28cbernerNew Issue
2022-08-01 09:28cbernerAssigned To => Retail
2022-08-01 09:28cbernerTriggers an Emergency Pack => No
2022-08-01 09:28cbernerAssigned ToRetail => Triage Platform Base
2022-08-01 09:28cbernerCategoryPOS => Core

There are no notes attached to this issue.