React Web App Loading JSON Data

preview_player
Показать описание
In this video I walkthrough how to load JSON data into a React web app. The JSON data is a collection of eastern quotations with a quote text and quote author. The web app has some styling applied to it using CSS.
Рекомендации по теме
Комментарии
Автор

After seeing 4 almost identical videos, there is no explanation on how to show just one of the values. Say for quote_author in id 11 who is Lao Tzu.

boffinschist
Автор

Can i have a connection with you?
This video was really good

althafkm
Автор

I want my component to show an input area, so that user can upload json file, then I want to read the data. How could I do this. I tried using states and reading the file using fs.readFile() but my react app throwing error that fs.readFile is not a function. Can you help me with that?

madhav
Автор

This was helpful, thank you for this video.
If possible, could you kindly explain about adding data back to JSON file from web app?
Thank you once again!

darshilbagadia
Автор

I got the below error while importing the data.json. Any body know how to resolve this issue ????

ERROR in ./src/App.js 24:13-25
Should not import the named export 'banner'.'start' (imported as 'banner') from default-exporting module (only default export is available soon)
@ ./src/index.js 6:0-24 9:33-36

webpack 5.69.1 compiled with 1 error in 12635 ms

kudaykumar