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
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?
it’s documented in the js file: