Although navigation works correctly in the app. If you navigate to a ‘party-details’ and reload/refresh the browser (or just paste the link in another tab).
http://localhost:3000/party/MbNp8AgW8BAoTzGvg
Nothing displays. No errors. Just no ‘party detail’.
I get the same broken results in the completed app I downloaded and built.
Using the Browser’s ‘Back’ button now (after a refresh on the parameterized route) is also broken (though it works fine before the refresh)
I added other ‘non parameterized’ routes and they behave correctly on refresh.
Does this have anything to do with the ‘deprecated router’ we are using currently?
To run correctly, the App also needs another change. Add a *ngIf=“party” to not render the party when it is still not loaded from server. In client/imports/party-details/party-details.html:
Can anybody advice where to read about: this.autorun(() => { // reactive ngZone.run(() => { // run inside Angular2 world ?
What “magic” this part of code do?