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.
2 parents 5399b95 + a522f96 commit 210b0a7Copy full SHA for 210b0a7
index.js
@@ -44,8 +44,6 @@ class Router extends React.Component {
44
this.onBack = this.onBack.bind(this);
45
this.customAction = this.customAction.bind(this);
46
this.renderScene = this.renderScene.bind(this);
47
- this.onDidFocus = this.onDidFocus.bind(this);
48
- this.onWillFocus = this.onWillFocus.bind(this);
49
50
this.state = {
51
route: {
@@ -69,15 +67,6 @@ class Router extends React.Component {
69
67
});
70
68
}
71
72
- onWillFocus(route) {
73
- this.setState({ route });
74
- this.emitter.emit('willFocus', route.name);
75
- }
76
-
77
- onDidFocus(route) {
78
- this.emitter.emit('didFocus', route.name);
79
80
81
onBack(navigator) {
82
if (this.state.route.index > 0) {
83
navigator.pop();
0 commit comments