Questions tagged [react-infinite]
8 questions
7
votes
1 answer
Measuring the height of text according to CSS rules – _without a browser rendering_ – for use with a virtualized list, to specify heights in advance
I've been implementing a chat client in Electron (Chrome) and React. Our top priority is speed. It behooves us, then, to use a virtualized list component (also known as "buffered render" or "window render"). We've explored react-virtualized,…

Zack Burt
- 8,257
- 10
- 53
- 81
3
votes
0 answers
How to merge React Data Grid with react-infinite-scroll-component?
I want to use React Data Grid with the react-infinite-scroll-component, is there any possibility to use it together.
The reason I want to use together to utilize the advantage of data grid features.
I tried to use "infinite scroll with…

Usman
- 125
- 3
- 10
2
votes
2 answers
loadmore does not triggers using react-infinite-scroller
I am using this library react-infinite-scroller for loading more items each time you scroll down but for some reason the loadmore is not triggering for me.
The code looks as below:
import React from 'react';
import {Route, Link} from…

Mizlul
- 1
- 7
- 41
- 100
1
vote
0 answers
How to Wrapper react-infinite-grid React module in Kotlin?
I want to use react-infinite-grid in Kotlin http://ggordan.com/post/react-infinite-grid.html
I have seen the How to import node module in React-Kotlin?
Below code is my reference…

iHad 169
- 1,267
- 1
- 10
- 16
1
vote
0 answers
React pagination on scroll
i have to implement chat system in react i m doing it first time and i m stuck.i have to pass page no to backend api to get new data every time.and i have to pass page no to api on scroll. i m using
[1]:…

Ayesha Malik
- 26
- 1
- 5
0
votes
1 answer
React infinite rendering: a choice between mutating state array or not
As title. I shouldn't mutate state like this based on suggestion in Cannot see updates from child component through parent's callback (case array and push)
So, in https://codepen.io/jadecubes/pen/dygjGZL, I try to setWords(a new array), but it…

Yu Fang
- 520
- 5
- 17
0
votes
0 answers
How to stop infinite api request at backend?
In my dashboard component I am fetching all orders of a user inside useEffect hook. useEffect hook has a dependency of user & orders state.
useEffect(() => {
let isMounted = true;
fetch(`http://localhost:5000/allorders?email=${user?.email}`,…

Sakib
- 1
- 1
0
votes
1 answer
react-infinite-scroller doesn't load the right amout of items
I am trying to implement infinite loading but the calls either stop before the desired number was achieved or go way above it
This is my sample code:
import React, {Component} from 'react'
import axios from 'axios'
import InfiniteScroll from…

Raluca
- 55
- 7