+ 3

Mern stack

Hello if there is any mern stack developer here. I have a question that i am creating a social media app for my major project. It has a feed which consist posts from different users. Now because there are so many posts (images) so getting them from backend at once is not possible. I want to add a functionality by which posts can be streamed in small parts while scrolling. Also one more thing that information regarding posts is stored as documents in mongodb and their images are stored at cloudinary. How can we do this.

17th Aug 2022, 12:21 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
2 Answers
+ 1
With a „Lazy Loading“. You can find about that in web.
17th Aug 2022, 3:10 PM
JaScript
JaScript - avatar
+ 2
Thanks for help
20th Aug 2022, 6:08 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar