Answers for "how to modify params in react router"

1

history push search params

this.props.history.push({
    pathname: '/client',
    search: "?" + new URLSearchParams({clientId: clientId}).toString()
})
Posted by: Guest on May-16-2020

Code answers related to "how to modify params in react router"

Code answers related to "Javascript"

Browse Popular Code Answers by Language