Open RajiDurai opened 3 months ago
Issue description: The parent and child are rendered twice every time there is a change in state or app is initiated or refreshed. Root cause: It looks like in index.js the app is running in strict mode. Fix: Remove strict mode. Source: https://stackoverflow.com/questions/48846289/why-is-my-react-component-is-rendering-twice
More resources: https://legacy.reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects
Issue description: The parent and child are rendered twice every time there is a change in state or app is initiated or refreshed. Root cause: It looks like in index.js the app is running in strict mode. Fix: Remove strict mode. Source: https://stackoverflow.com/questions/48846289/why-is-my-react-component-is-rendering-twice