Rerouting react app just displays content on same page – Javascript
So I am making a react web app and the main page has a search bar function. I want the user to enter a search result and when they click on 'search' they should be redirected to a new page…