You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@harish-sethuraman You are running your app in strict mode. Go to index.js and comment strict mode tag. You will find a single render.
This happens is an intentional feature of the React.StrictMode. It only happens in development mode and should help to find accidental side effects in the render phase.
Thanks 😅 Yea I knew that console messages are rendered twice in strict mode. But when I implemented the sandpack consoles I remember they appeared only once 🙈 #4672 (comment) . Just wanted to confirm if anyone else noticed the change in behaviour. Or may be (it never appeared once?) it was me who got it wrong 😅
Seems like console messages are appearing twice in the console
Screen.Recording.2022-06-30.at.7.56.08.PM.mov
The text was updated successfully, but these errors were encountered: