How to Find Page(Modal/Sheet)?
seoyeon01 opened this issue · comments
Is there way to find the Page(Modal / Sheet) from container(or static method way like find container)?
If it's not, is it by design reason?
For example,
(I haven't tested it in detail, so there's probably something wrong with it.)
duplicate pageName(Identifier) may have a problem.
But in most cases, pageName seems to be used in a unique way.
or is there a better way?
I'm wondering if there is room for this usage to cause problems.
In an ideal scenario, you should hold onto the pageId obtained during the OnLoad at the time of a push operation and use that.
There's also an overload for Pop that allows specifying an pageId