[Solved] Interview Advice [closed]


There are a lot of possible answers, what I think he expected was that you need to make sure that a component is not re-rendered X times more than it should be.

For instance, if you setState without checking for redundancy, your component/App will render a lot more than it should if you did the necessary checks.
For more info, check out an existing tool that does it for you (there are plenty): https://github.com/maicki/why-did-you-update

Hope that helped!

solved Interview Advice [closed]