Example of implementation Infinite scroll and lazy image loading Under the hood Intersection Observer API Custom hooks Picsum photos API