Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
3 replies
gray0531

When will the react Component remount?

I hear React itself use Object.is to decide whether to reRender a component or not
How about remounted?
What does React check?
I give Object.is a try in the link, but it ends up "not this"

https://stackblitz.com/edit/react-ts-tuqhjk?file=App.tsx,index.html
React + TypeScript starter project
understand unmounted - StackBlitz
Was this page helpful?