Give the application one screen stack, before any event.
Everything that touches navigation has to agree on the same stack: the middleware that
displays a resolved route, the runtime that sets a screen title, and whatever component
shows the screens. Creating it here, once, during the build phase, is what guarantees they
all mean the same object.
Give the application one screen stack, before any event.
Everything that touches navigation has to agree on the same stack: the middleware that displays a resolved route, the runtime that sets a screen title, and whatever component shows the screens. Creating it here, once, during the build phase, is what guarantees they all mean the same object.