You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed there is a slight delay in elsewhere components being removed from the DOM when transitioning. We're using a workaround on willTransition route hook to handle this for now.
The text was updated successfully, but these errors were encountered:
Yes, ember-elsewhere generally requires two render passes. That's the only way to safely make the act of rendering one template alter the content of another (and it needs to be done carefully to avoid arbitrarily large performance impact and/or backtracking re-render assertions).
Generally this is ok, since glimmer's updating VM is extremely efficiently, so the second render doesn't cause much extra work. It does mean there is a possibility that the browser will actually paint the intermediate state and it could be perceptible under some conditions.
I am open to exploring ways to avoid the second render. There are possible solutions, but they would all require support deeper down inside the glimmer virtual machine.
After my save action finishes, and buyerToEdit is null, the buyer-editor component remains in the DOM, albeit with a now-nullbuyer object. Is there a way around this aside from explicitly checking inside the buyer-editor component?
I've noticed there is a slight delay in
elsewhere
components being removed from the DOM when transitioning. We're using a workaround onwillTransition
route hook to handle this for now.The text was updated successfully, but these errors were encountered: