I notice one problem with @wire(getRecord, { recordId: "$recordId", fields: FIELDS })
. It normally works good, automatically changes when a field changes in the page but, if we have a roll-up summary field
on the object that counts records, and we put that field in the fields var that goes into the @wire
method. If you delete a record in a standard related list, the @wire
does not changes automatically.
And the deletion also does not a refreshView
, and in aura component to handle this type of situation I listen to the toast
event with type=success
to handle the logic.
I don't like this type of handling because it has a lot of toasts in the process and is very inefficient.
Someone knows a better way for this type os situations?
Thank you in advance