Efficiently Render 100,000 Rows in React

  Рет қаралды 19,604

Cosden Solutions

Cosden Solutions

Күн бұрын

Пікірлер: 49
@zerdnelemo
@zerdnelemo 8 ай бұрын
I used react-window in the past. Virtuoso is really a big improvement.
@ivandamyanov
@ivandamyanov 8 ай бұрын
Thanks for the video I'm happy to know about this package for my future use cases and I think you explained all the basics a beginner might need, in an easy to understand manner.
@nikhilarya7712
@nikhilarya7712 4 ай бұрын
Good quality content, loved the explanation with example, thanks.
@Ray-ko6cw
@Ray-ko6cw 6 ай бұрын
Thank you so much, I've been looking for this
@bsw4245
@bsw4245 7 ай бұрын
absolute goldmine
@abhinavkumarsingh_0365
@abhinavkumarsingh_0365 7 ай бұрын
Was looking for exactly this
@ahmadbenchakhtir5787
@ahmadbenchakhtir5787 8 ай бұрын
First Thank u, second actually I wish that we could do it without any library... sometimes i hate the idea that most of the things we use a library for.
@matrioxplayz1607
@matrioxplayz1607 8 ай бұрын
you probably could, however it would take a lot of effort and you would end up making what is essentially a library
@ahmadbenchakhtir5787
@ahmadbenchakhtir5787 8 ай бұрын
@@matrioxplayz1607 Agree Agree, on one side you're right. but this -Building ur own- will push your skills and your logical thinking add to this usually u will not need to all the functionality of the library. I don't say that the library approach is bad... It's a trade off with personal preference. Thank u.
@shivamjainn
@shivamjainn 7 ай бұрын
​@@ahmadbenchakhtir5787 ofcourse it will push your skill , but reinventing the wheel is just pure insanity . You could read the code from library instead and also contribute. As for skills , i agree with you point. But doing this isn't helping u anyways so why try
@andy_lamax
@andy_lamax 7 ай бұрын
It's not about reinventing the wheel, its about understanding how the library works. Just using a library and not knowing its internals tends to not put a boost on one's skillset
@trejohnson7677
@trejohnson7677 2 ай бұрын
@@andy_lamaxthe reality is building and maintaining a virtualization solution would eat up a majority of your career. you can mine for gold or be a jeweler. choose.
@incarnateTheGreat
@incarnateTheGreat 7 ай бұрын
Very cool. Thanks for sharing!
@kevyyar
@kevyyar 8 ай бұрын
Hello Cosden! I've been eagerly following your React course updates, and I must say, it’s precisely what I've been looking for to advance my skills. I am currently on the job hunt, either in Argentina or remotely. Unfortunately, my current financial situation doesn't allow me to enroll in your course at its full price. I am deeply committed to learning and growing in this field, and I wonder if there might be any scholarships, discounts, or alternative options available that could assist me in accessing this invaluable resource? Thank you for understanding my brother.
@harag9
@harag9 8 ай бұрын
Great video, thanks for that.
@PoojaGera-l2r
@PoojaGera-l2r 3 ай бұрын
thankyou so much for this video!
@Presidentum
@Presidentum 8 ай бұрын
Very interesting video!!! It seems like an alternative to tanstack query, no? What are the pros and cons of it against TQ?
@cosdensolutions
@cosdensolutions 8 ай бұрын
They are different things! This is a rendering optimization, RQ is a data fetching lib!
@HenryBabbage
@HenryBabbage 8 ай бұрын
I think OP is referring to Tanstack Virtual, which handles list virtualization. Also curious how these two libs compare@@cosdensolutions
@mohamedsalimbensalem6118
@mohamedsalimbensalem6118 8 ай бұрын
thanks for the video ^^
@mocastello9253
@mocastello9253 7 ай бұрын
great video! thank you so much!
@geforcesong
@geforcesong 8 ай бұрын
what if the user component has dynamic height, it could be different height in different cases, does Virtuoso handle this?
@sarthakagarwal014
@sarthakagarwal014 8 ай бұрын
Thanks for the video, but here one question arises is that what if we have that large amount of image along with text. Will it work or do we need to choose other way?
@cosdensolutions
@cosdensolutions 8 ай бұрын
It would work the same!
@ayushkarki1880
@ayushkarki1880 6 ай бұрын
Thanks for the video. Is there any way to configure when fetchNextPage is called. I have a scenario where the rows loaded doesn't occupy the container height in first three set's of data. This lead to not calling endReached callback even after there is next set of data.
@hassanad94
@hassanad94 7 ай бұрын
I have a question. Currently you set a fixed hight, what if dont want fix height. What if i want to set 100%? So that i can use anywhere. (I dont want to set it as a prop) Pls can you help?
@sounakmandal
@sounakmandal 7 ай бұрын
In a large table, generally we have pagination in the table itself where we anyways display a single page of fixed size and fetch the next page when the user manually moves to the next page. In this case, is there any advantage to this approach?
@cosdensolutions
@cosdensolutions 7 ай бұрын
it all depends on how you want to do it. As long as you load paginated data and not all at once, you are good!
@darkshadowgks
@darkshadowgks 6 ай бұрын
normally with the table, people will have to able to search on it, can this do so? can you show to us how search (example search particular name) works on this?
@moghariyarahul5723
@moghariyarahul5723 8 ай бұрын
Hey bro, i am building a chat app and it has aa lot of dynamic content so how can i use it?
@Lyric-w1r
@Lyric-w1r 8 ай бұрын
do you use vim ou vscode?
@cosdensolutions
@cosdensolutions 8 ай бұрын
Vscode with vim bindings
@codernelly34
@codernelly34 8 ай бұрын
Please Sir am just from watching your video on react Context api but i have a problem i have created a context api where the context value is set in the login page and the value is displayed in the home page it works fine but when the home page is refresh the value of the context became undefined why please help am a beginner
@immipixediter210
@immipixediter210 8 ай бұрын
u can use 'emittor' package npm i emittor
@zerdnelemo
@zerdnelemo 8 ай бұрын
Context is in-memory storage. When you refresh your page in the browser, everything is reset. If you want to persist data between refresh, you should store it somewhere, like local storage, per instance.
@victormanuelalonsoramirez8358
@victormanuelalonsoramirez8358 8 ай бұрын
If You want to persit data you need to use localstorage
@VidoviDroga
@VidoviDroga 7 ай бұрын
Is it ok to use this with nextjs 14?
@FaintArt
@FaintArt 8 ай бұрын
observer api? pagination?
@iamTLC
@iamTLC 7 ай бұрын
any reason not to use tanstack virtual?
@cosdensolutions
@cosdensolutions 7 ай бұрын
there's not just one way to do things ☺️
@AkoMawlood
@AkoMawlood 8 ай бұрын
Like
@ricohumme4328
@ricohumme4328 8 ай бұрын
So how does this library compare to the Flatlist implementation?
@cosdensolutions
@cosdensolutions 8 ай бұрын
its very similar actually. FlatList implements virtualization as well
@immipixediter210
@immipixediter210 8 ай бұрын
npm i emittor
@nickwoodward819
@nickwoodward819 8 ай бұрын
But *why* 😄
You Are Using useEffect Wrong
14:40
Cosden Solutions
Рет қаралды 36 М.
Refactoring a React component - Design Patterns
15:19
Cosden Solutions
Рет қаралды 99 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 138 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 3,8 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 139 МЛН
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 25 М.
The Future of Forms in React with Aurora Scharff
30:40
Cosden Solutions
Рет қаралды 8 М.
Sui Walrus Protocol NFT Tutorial- NFTs That Hold Funds
29:33
Paul Sullivan
Рет қаралды 148
This is the Only Right Way to Write React clean-code - SOLID
18:23
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 106 М.
The Best Pattern for Conditional Hooks in React
13:34
Cosden Solutions
Рет қаралды 23 М.
The Future of React Query with Dominik Dorfmeister (TkDodo)
35:41
Cosden Solutions
Рет қаралды 3,5 М.
I Found the Perfect Open Source React Project (Code Review)
22:36
Cosden Solutions
Рет қаралды 68 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 812 М.
04 - ConsoleChess
47:49
luca_g97
Рет қаралды 19
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 138 МЛН