Subscriptions such as WebSockets belong in ordinary effects, not in the specialized style insertion phase.
Question 11 of 20 in useInsertionEffect Quiz