Open albertlast opened 1 year ago
reduce the load time massiv depends of the amount video released by the channels
Load all images/stuff of all videos of all channels in the list -> result massiv load/cpu time
Just rendering the most relevant videos, when scrolling down more get loaded (since they are near the view port)
add dependency svelte-inview
i try to keep pr small/focused, so i didn't added a default height/width --> the scroll bar is "jumping" when scrolling down
also the option for svelte-inview could maybe optimize
test can't run since the project doesn't want package-lock.json be part of a pr, but since i added new dependcy test can't run.
reduce the load time massiv depends of the amount video released by the channels
What type of Pull Request is this?
What is the current behavior?
Load all images/stuff of all videos of all channels in the list -> result massiv load/cpu time
What is the new behavior?
Just rendering the most relevant videos, when scrolling down more get loaded (since they are near the view port)
Other information
add dependency svelte-inview
i try to keep pr small/focused, so i didn't added a default height/width --> the scroll bar is "jumping" when scrolling down
also the option for svelte-inview could maybe optimize