Finally created a nice working infinity scroll composable in Vue and added it to #Twix: https://github.com/mstdn/Twix
https://twix.social
Introduced a few new bugs though that I'm not quite certain on how to fix
Gotta figure out how to 'update the timeline' on new posts with emits maybe or parial reloads.. i don't know
I really gotta do a JavaScript course first I guess VueJS is doable but it's getting complicated fast with both the options and composition API
There's just no escaping it
@stux@mstdn.social fast-forward next year and I'll see this on AP >;P
@stux split your code to multiple files, you will thank me for that hint.
@pax I am
@stux I did JavaScript first, later React. Really don't know how I would have ended up w/o first knowing JavaScript.
If you have questions... throw them out and if any of us (website builders) have the answer I'm sure we'll let you know!