diff --git a/Libraries/CustomComponents/Navigator/Navigator.js b/Libraries/CustomComponents/Navigator/Navigator.js index 7b7bf1ae6..bc5d65791 100644 --- a/Libraries/CustomComponents/Navigator/Navigator.js +++ b/Libraries/CustomComponents/Navigator/Navigator.js @@ -1002,7 +1002,8 @@ var Navigator = React.createClass({ }, getCurrentRoutes: function() { - return this.state.routeStack; + // Clone before returning to avoid caller mutating the stack + return this.state.routeStack.slice(); }, _handleItemRef: function(itemId, route, ref) {