mohitahlawat2001 / aniSensei

https://anisensei.vercel.app
GNU General Public License v3.0
16 stars 14 forks source link

Added lazy Loading #23

Closed devDEV03 closed 1 week ago

devDEV03 commented 3 weeks ago

By loading only the necessary resources for the initial view, lazy loading reduces the page's initial load time, which leads to faster rendering and a smoother experience for the user. This is especially important for users on slower networks or devices.

Lazy loading avoids loading resources until they are actually needed, saving bandwidth for both the server and the client. This is particularly beneficial for mobile users who may have limited data plans or slower connections.

By reducing the number of resources loaded initially, lazy loading helps minimize CPU and memory usage, which can improve the performance of devices with limited resources, such as smartphones and tablets.

vercel[bot] commented 3 weeks ago

@devDEV03 is attempting to deploy a commit to the mohitahlawat2001's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
anisensei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 3:05am
devDEV03 commented 3 weeks ago

kindly check now actually i think the problem was in MovieShimmer which i was importing by default while it was a named export, if u want i can create another shimmer ui

mohitahlawat2001 commented 3 weeks ago

yes need to add different shimmer for every page , you lazy loaded , according to there ui

devDEV03 commented 3 weeks ago

i can create a different pull request for every page. for now i can add just one default shimmer instead of shimmer ui for every page.What you say?

mohitahlawat2001 commented 3 weeks ago

image getting error while building also post photo of every shimmer you make

devDEV03 commented 3 weeks ago

Okay,dw i will complete it by today

devDEV03 commented 3 weeks ago

created the shimmers and configured them and also built it browseShimmer starredShimmer loginShimmer