I am not able to buffer the actions before hydration occurs on v5. Could someone give an example on how to do it?