I have a React app being built and then served by an express server. I need to be able to access a query parameter url.com/?param=somevalue
in the URL from within the React app (not the server). The app will then fetch data from an API using the parameter value
As the app is very simple it does not require any routing, thus I'm not using any routing such as react-router. Is there a simple way to achieve this?