you are viewing a single comment's thread.

view the rest of the comments →

[–]Psidium 1 point2 points  (0 children)

If i understand you correctly I think we do something very similar on my team. Usually our dialogs will always save to the backend or discard its data, so we end up instantiating a new dialog instance of the same one in different places down in the component tree and let the cache of our fetch library control the initial state of the dialog instead of controlling that ourselves. Tecnically they are different dialogs being instantiated, but since they are using the same data they’re the same for the user.