I’m getting this message when trying to connect to the socket
passing params to connect is deprecated. Instead pass :params to the Socket constructor
From what I’ve seen online, you do something like this in Javascript
socket.connect({token: props.token})
It seems like Phoenix has a new way of doing it, but I’m not sure how to implement it with the Socket constructor. Does anyone have an example they could give me?