Hallo I am new to React and here.
I have questiona about redirect to an URL in React. I am wondering if I can make React page redirect to another URL like www.google.com I did it like .
<a href='http://localhost:8000/api?issuer=ideal_KNABNL2H'>Go to Pay</a>
<button onclick="window.location.href='http://www.google.com'">
But it doen't work at React. Can it be done in react-router? I have read its doc, still don't know how to make it.