In this article, I will describe the concepts that react uses for gaining performance in rendering. I will explain the Virtual Dom concepts, Memo, useMemo hook in detail including,
- What they are?
- How they are gaining performance?
- When to use them?
- When should it be avoided?
In the first place…