Endless Scrolling is now implemented, wooo! Two things to note tho:
1.) For search, I wasn't able to implement the same mechanic, since the same API call is triggered when searching AND when not searching (so my counter to skip courses in the backend would be hard to manage across both cases). If you have any suggestions to fix that, I'm all ears, though I think this is enough for the purpose of not loading ALL courses on the page at once.
2.) Courses aren't sorted by popularity for now, since doing so caused some courses to be duplicated on the dashboard (not sure why at the moment)
Endless Scrolling is now implemented, wooo! Two things to note tho:
1.) For search, I wasn't able to implement the same mechanic, since the same API call is triggered when searching AND when not searching (so my counter to skip courses in the backend would be hard to manage across both cases). If you have any suggestions to fix that, I'm all ears, though I think this is enough for the purpose of not loading ALL courses on the page at once.
2.) Courses aren't sorted by popularity for now, since doing so caused some courses to be duplicated on the dashboard (not sure why at the moment)