Unecessary simulation requests and components being reloaded
ID: 648298
No Fix
Published on 8/30/2022
•
Last update on 2/16/2024
Summary
Multiple simulation requests may be made after changes in the orderForm. This is related to the lean shipping calculation to calculate shipping packages.
Depending on the change, like automatic requests to register "paymentData" information, they can be considered unnecessary. Thus, slowing the page, overcharging external services, and changing the UI state while waiting for them.
Simulation
- create a cart
- add a ZIP code on the shipping component
- watch the requests made by the UI, which will include updates for "shippingData" and "paymentData", and also these multiple "simulation" after each one of these
Workaround
N/A