Hey there!
In today’s video, you will learn how to parse CSV files in your React & TypeScript project.
Why? Well, so you can easily work with them as you would with a regular JS object or array.
You can find the full code below! Enjoy
GitHub Gist: https://gist.github.com/thecodingloft...
Timestamps:
00:00 - Intro
00:33 - Installing papaparse
02:07 - Creating fetchCSVData
07:06 - Summary of fetchCSVData
07:41 - Fetching CSV inside app.js
09:38 - Sanitize column names
14:25 - Outro