I just began web-dev and when I'm searching for stuff to do you often have it covered. This video was concise and and excellent. Exactly what I needed. Great work.
This is a really cool way to use intersection observer API and you explained it great. But when we are querying through actual database it might take some time and if a user scrolls up down a lot of time while the spinner is spinning we have sent too much request to the database which also duplicate template of the same post. A possible solution is to make a var switch=true; which will be false while the template is still loading in view and true when the template has finished loading
I honestly have no idea where to start learning Javascript. I'm pretty solid on Flask now, but have the Javascript portion mind as well been a completely different language.
Great stuff Julian! Very concise and informative. What I would like to learn is how to make simple multiplayer games in flask. Sharing the same state across multiple clients who connect to it might be tricky. That'd be cool if you could make a video on that!
How would you pop new items onto the top and push the old ones down? I'm thinking of a kind of top down tail -f kind of thing to show some syslog or ...httpd/error_log data... Thanks in advance
Example@ 1:06
Server side@ 2:06
HTML@ 5:06
JavaScript@ 9:18
CSS animations@ 15:24
Add this to discription it'll make chapters for video automatically
I just began web-dev and when I'm searching for stuff to do you often have it covered. This video was concise and and excellent. Exactly what I needed. Great work.
Nice job and thanks for the refresher. You made this very clear.
This is a really cool way to use intersection observer API and you explained it great. But when we are querying through actual database it might take some time and if a user scrolls up down a lot of time while the spinner is spinning we have sent too much request to the database which also duplicate template of the same post. A possible solution is to make a var switch=true; which will be false while the template is still loading in view and true when the template has finished loading
I honestly have no idea where to start learning Javascript. I'm pretty solid on Flask now, but have the Javascript portion mind as well been a completely different language.
Thanks Juian Nash for some good stuffs in your channel.
Cheers, mate; trying to implement this at work
worked like charm. thanks Julian!
Great stuff Julian! Very concise and informative. What I would like to learn is how to make simple multiplayer games in flask. Sharing the same state across multiple clients who connect to it might be tricky. That'd be cool if you could make a video on that!
Thanks, it's really helpful!
How would you pop new items onto the top and push the old ones down? I'm thinking of a kind of top down tail -f kind of thing to show some syslog or ...httpd/error_log data...
Thanks in advance
Thank you so much it was really helpful 🙏🙏
Thanks for the video. Really helpful. There is a bug, for instance, posts = 2 the loader stays forever.
Source code? link in the description isnt working
:(
!important!, i want to ask you if i can just copy your code and use it in my project, i am new to js ??
Unfortunately, it's not optimized for top posts deletion. Let's say it's gonna be a billion posts, so version could lead to stack overflow
Works exactly as explained by you. Thanks for making this video. How to go about it when db = pymongo.somecollection.find() ?
can anyone give me the source code?
pythonise.com/categories/javascript/infinite-lazy-loading
Dinis Monteiro thanks for giving the code but no benefit for me. I already write it my self.