We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc1c58f commit 2ee7f61Copy full SHA for 2ee7f61
1 file changed
src/createBrowserApp.js
@@ -59,6 +59,7 @@ export default function createBrowserApp(App) {
59
_actionEventSubscribers = new Set();
60
componentDidMount() {
61
setHistoryListener(this._dispatch);
62
+ this.updateTitle();
63
this._actionEventSubscribers.forEach(subscriber =>
64
subscriber({
65
type: 'action',
@@ -69,6 +70,9 @@ export default function createBrowserApp(App) {
69
70
);
71
}
72
componentDidUpdate() {
73
74
+ }
75
+ updateTitle() {
76
const { state } = this._navigation;
77
const childKey = state.routes[state.index].key;
78
const activeNav = this._navigation.getChildNavigation(childKey);
0 commit comments