I am trying to let user to "choose text file" and display it in the UI. Later, I'll use the data in *.txt file to plot.
However, I couldn't display the content of txt file.
There are several modules available but I don't know how to make it work in React.
Here are the examples I found:
https://stackoverflow.com/a/40146883/10056318
jsfiddle.net/0GiS0/nDVYd/
Thanks