Instead of handling the side effect of navigating to another url from within componentWillReceiveProps, try to match the same logic instead in componentDidUpdate.
Instead of handling the side effect of navigating to another url from within componentWillReceiveProps, try to match the same logic instead in componentDidUpdate.