problem description
scroll down to the second page on the original list page of the (A) page, click the list < Link to= "xxx" / >
to jump to the detailed (B) page, and click the back button on the (B) page to execute this.props.history.goBack ()
to return to a page that cannot be echoed to the location and data of the (A) page.
problem analysis: this.props.history.goBack ()
the previous page will re-invoke the component rendering process, which is different from the browser"s native window.history.back (- 1)
.
expected results
does react currently have a plug-in that simulates the return or solution of window.history.back (- 1)
?