cn10xdev / YouTube-clone

This is a youtube clone. Yes it is missing the watch page, as the main focus of this project was not frontend development.
https://youtube-clone-tlmx.onrender.com/
0 stars 4 forks source link

Optional Chaining was supposed to be used. #1

Open Dev-Code24 opened 1 month ago

Dev-Code24 commented 1 month ago

When you go to the deployed version of this Youtube Clone, you may notice that if you scroll down instantly after going to the deployed page, you may see a black screen.

This black screen is because the video is not yet loaded from its source and the code is trying to access it. See VideoCard.jsx file. This is happening because I am not using optional chaining here. It is a general rule, that whenever accessing data after fetching it from an API, one must use optional chaining to access the data. If you want to learn more about it go to MDN docs.

Implement optional chaining wherever you think it is necessary, and make a PR.

shubham7522 commented 1 month ago

May i work in issue?

Dev-Code24 commented 1 month ago

@shubham7522 Assigning this to you

Rushabh1105 commented 3 weeks ago

Can I work on this issue?

Dexedus commented 3 weeks ago

May I work on this?