score:3

You need use React Router.

With Link:

<Link to={`/mySite/accountview?id=${account.AccountName}`}>something</Link>

With onClick:

<button onClick={() => hashHistory.push(`/mySite/accountview?id=${account.AccountName}`)}></button>

You can use hashHistory or browserHistory :D


Related Query

More Query from same tag