I want to jump to an outer chain after clicking on the event in react. I would like to ask how to jump. The default jump method does not support jumping out of the chain.
this.context.router.history.push("/download")
this.props.history.push("/download")
both of these two jump methods can jump. What is the difference and in what scenarios are they used?