chetannada / Namaste-React

❤ Namaste React Live Course from Zero to Hero 🚀 by Akshay Saini(Founder of NamasteDev). This repository for Assignment & Class Notes taken during Namaste React Live Course #namaste #javascript #react
https://foodfire-app.netlify.app/
1.93k stars 1.02k forks source link

seperate 'data.js' file for better code readability #2

Closed vaibhav18matere closed 1 year ago

vaibhav18matere commented 1 year ago
chetannada commented 1 year ago

In Chapter 04 - Talk is Cheap, show me the code: Akshay Saini taught that how to use hard-coded data, so I have put all restaurantList data in App.js file.

Note: It's the part of course that we can use hardcode data also.

As I moved in Chapter 05 - Let's get Hooked!: Akshay Saini taught that we can use separate files for our hard-coded data so I have already separated restaurantList data in assets file(I have used constants.js here) in Chapter 05 for better code readability.

I have already finished all your mentioned points in Chapter 05 - Let's get Hooked!

Thank you for exploring the repository in depth.