Skip to content

Is it normal for useEffect(..., []) to run twice? #7096

Closed Answered by sergiodxa
wunksert asked this question in Q&A
Discussion options

You must be logged in to vote

This is happening because on your app is wrapped in React.StrictMode inside the entry.client file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaelDeBoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants