pass multiple parameters in url using javascript code example
Example 1: pass multiple parameters in url
www.your-website.com/?parameter1=one¶meter2=two
Example 2: react pass parameters to other page
<Link
to={{
pathname: "/page",
data: data // your data array of objects
}}
>
//in /page
render() {
const { data } = this.props.location
return (
// render logic here
)
}