List render garne Bela hamle map use garera purai list iterate garera render garchau. Everytime k hi update garnu paryo wa state change vayo vaney list feri feri render vairahancha. Yesle Kati ko performance ma impact parla yedi list chai 1000+ items haru Cha vaney. Kunai item edit garesi Pani feri purai list render garnu parcha.
Jati khera ni k hi changes Ayo vaney react le list Lai loop garera render gareko garekai huncha. Virtual dom Kati ko fast chak ki yo problem solve garna Lai.
It’s something you normally don’t have to worry about.
Rending a thousand items at once on the screen is generally not a good idea because the you or the user can’t find what they are looking for.
Generally pagination (showing 1-10 or 100 items) at once the approach to go.
VDom is generally really fast. Unless you have multiple thousand items with very complex logic, crazy nesting going on, it will be fine.
When an item changes – react under the hood compares the changes – most likely one or few items have changes – so the changes are reflected on screen while the rest of the dom tree is unchanged
Thank you for your reply.
I actually wanted to know if bigger Enterprise software also use this method where they re- render component Everytime they make changes to element or add new element or delete element from that list or is there any better method to do that.