Post

Finally found some time to try the Phoenix/Inertia/React combo, and I can honestly say it feels much better than LiveView to me. Heavy emphasis on "to me". I don't hate JavaScript. So to be able to use the fantastic Elixir ergonomics, with React, is a big win.

With codesplit and treeshaking done I have no complains anymore. I was afraid of the bundle size initially, but now it's fine. I never really liked liveview so I can't give a proper comparison. Ultimately I think the codebase is simpler and more flexible. Happy to share specifics.

Component organization and rapid prototyping are something I value, so I'm in the same boat. If you want websockets or streaming nothing is stopping you from using them. You lose the HTML diff'ing that comes with LiveView. You still use Phoenix as a backend.

0 reposts1 like