I've read from the sources that If I update the state of any component than the whole virtual dom will be render ? Is It True ? If Yes, Then Why render method of all component not called ?
Also, Need some clarification on below point -
- What is Virtual Dom actually ? Any practical example for that ?
I assuming that If we compare the virtual dom with actual dom, Virtual dom takes little time to update the dom than real dom. But how can practically prove that ?
How react uses diffing algorithm to update only respective component In which changes happen (If I used setState method)
Any video lecture for that would be really appreciated.
I've read from the sources…
— Where did you read that? What sources? Why don't you include in your question? – Licence