How does react-router4.0 js jump, how does it pass in the address bar? the parameters of key=value, and how to get them on the new page.

how does react-router4.0 js jump, how does the address bar pass the parameters of key=value, and how do you get

on the new page?
Apr.01,2021

react-router there is a withRouter , which can inject history into your components, ah, what related routing methods and information.

import {withRouter} from 'react-router-dom'

class MyComponent extends Component {
    doSth = () => {
        this.props.history.push('/xxx')
    }
}
export default withRouter(MyComponent)

use 2 can this.props.location.query.key
I don't know if 4 has

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea8d19-1f08.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea8d19-1f08.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?