-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use native lazy loading instead of custom one
The custom loading worked more or less fine but it was only a temporary solution before loading="lazy" got better browser support. That moment has finally come and switching to it allows for removing a lot of code! The downside is that write now I don't have a replacement for loading the prev/next item. I think I could make it work by somehow exposing the items on the sides in the scrollport, but I will deal with that once the need arises.
- Loading branch information
Showing
4 changed files
with
51 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.