🏠
Working from home
From-end dev + Crafter. ⚡️ I'm pursuing a great life, a life that I live the best of me every single moment.
- Malaysia
-
12:00
(UTC +08:00) - hyoogoo.com/iamalvisng
Pinned Loading
-
Infinite scroll using Intersection O...
Infinite scroll using Intersection Observer API 1import React, { useEffect, useRef } from 'react';
23// Define the properties for the InfiniteScrollTrigger component
4type InfiniteScrollTriggerProps = {
5onIntersect: () => void; // Callback function to be executed when intersection is detected
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.