My backend server generates the initial index.html page that loads the react app, ie.:
<html>
<.... src="..../app.js" />
<body>
...DOM element that loads reactjs app
</body>
</html>
Now within this index.html page, could I have inlined a JSON object that my reactjs app could reference directly? (as oppose to making an axios http GET request to fetch this data).
The goal is to have this data loaded by reactjs directly instead of making another http request to fetch this data.