Equivalent for beforeClientResponse

Hi, I need an equivalent to this in Vaadin 14: https://vaadin.com/docs/v8/framework/articles/DynamicallyUpdatingStateBeforeSendingChangesToClient.html

The use case is this: I have to rearrange a component content only once, just before sending changes to the client. This component collects data randomly and I cannot rearrange it every time data is added.

Is this possible in Vaadin 14?

Not sure whether it will help for your need but there is UI::beforeClientResponse with a similar semantic which you have requested.