Hey good people, just trying to get a handle on the status of Elm WebSockets these days.
At some point, we need to cut over to 0.19 (or at least, I’d like to, purely for decreased compile times. That’s literally the only reason.)
Our app uses Phoenix WebSockets on the backend, and we use
which is an effects manager, so no good in Elm 0.19.
I came across an article on folks who also use Elm/Elixir but elected to strip out WebSockets altogether and go HTTP only when upgrading to 0.19. I’d rather not do this if possible as right now it’s working spectacularly well.
Just wondering if:
Anyone has upgraded a Phoenix app to 0.19 and kept WebSockets
I’m using ports for this in a 0.19 app I’m working on and while your mileage may vary, for me the transition was a lot easier than I thought it would be. In some ways it’s been easier than when I was using straight-up Elm for it in 0.18 because I don’t need to pass the socket state around the app like I did before.