diff --git a/releases/next/docs/navigatorios.html b/releases/next/docs/navigatorios.html index 3f0dba6ec38..b431a680107 100644 --- a/releases/next/docs/navigatorios.html +++ b/releases/next/docs/navigatorios.html @@ -31,13 +31,7 @@ class MyScene extends : PropTypes.object.isRequired, } - constructor(props, context) { - super(props, context); - this._onForward = this._onForward.bind(this); - this._onBack = this._onBack.bind(this); - } - - _onForward() { + _onForward = () => { this.props.navigator.push({ title: 'Scene ' + nextIndex, });