Financial tips and advice on investment for developers:
"Learn how to free extra monthly cash from your dev-salary for investment"
There are so many different ways to free money for investments without thinking of getting another job. Download my Top-15 cash-freeing tips cheat sheet.
Front-end Shorts: How to Read Content From The File Input in React
31 Mar, 2018
Hi, everyone! How is your weekend going?
As you know, I prefer learning to code by doing things. So, the last feature I have implemented for the app is the reading of the content from the uploaded (local) .csv file from the user.
To do so without a server or any back-endโis a challenge.
To make things work properly in React+Redux, I have created the following component:
const ImportFromFileBodyComponent = () => { let fileReader; const handleFileRead = (e) => { const content = fileReader.