I am getting stuck on something that seems simple...
I want to be able to load the content of a remote file (over http/https), as text, and display it in a textarea. Or optionally into another component with syntax highlighting.
The URL to the file could be anything (and therefore I can't use a REST API query), for example a text file, an XML file, etc.
Yes, perfectly, thanks!
However I decided to keep the temporaryState as it allows me to retrieve several other pieces of information from the request and keep them all into a single object that I can refer to throughout the app