this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't need nearReachEnd, use InView more

+5 -2
+5 -2
src/components/timeline.jsx
··· 239 239 setNearReachStart(nearReachStart); 240 240 if (reachStart) { 241 241 loadItems(true); 242 - } else if (nearReachEnd || (reachEnd && showMore)) { 243 - loadItems(); 244 242 } 243 + // else if (nearReachEnd || (reachEnd && showMore)) { 244 + // loadItems(); 245 + // } 245 246 }, 246 247 [], 247 248 ); ··· 451 452 {uiState === 'default' && 452 453 (showMore ? ( 453 454 <InView 455 + root={scrollableRef.current} 456 + rootMargin={Math.max(screen.width, screen.height) + 'px'} 454 457 onChange={(inView) => { 455 458 if (inView) { 456 459 loadItems();