Function signature for jumping to any registered screen across branches.
The trailing arguments follow GotoScreenArgs: params is optional
when the target declares no required props, and options carries
SkipOptions.onlyAttribute. A target that is already on the current
path (the current screen or one of its ancestors) takes the params in place
of its own and is remounted by default; pass { onlyAttribute: true } to
update only its props — that keeps the mounted instance for the current
screen, while an ancestor mounts fresh either way and keeps only its stored
regionFocus map.
Function signature for jumping to any registered screen across branches.
The trailing arguments follow GotoScreenArgs:
paramsis optional when the target declares no required props, andoptionscarries SkipOptions.onlyAttribute. A target that is already on the current path (the current screen or one of its ancestors) takes the params in place of its own and is remounted by default; pass{ onlyAttribute: true }to update only its props — that keeps the mounted instance for the current screen, while an ancestor mounts fresh either way and keeps only its stored regionFocus map.