Skip to content
RED SAG Skills
hardStudy question · answer published in React interview questions, so no pointsreacteffectsstrict-mode

Two socket connections in development

In development, the server logs two WebSocket connections from one page load. The effect is useEffect(() => { connect() }, []). What does this point to?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions