4 ms·
I needed a lot more interactivity, especially with things like client side animations. LiveView is great if your usecase is sending fresh data - but if you want
by square_usual 5y ago
I needed a lot more interactivity, especially with things like client side animations. LiveView is great if your usecase is sending fresh data - but if you want more interactivity, you have to use JS, and frameworkless JS is setting yourself up for pain for all but the simplest projects. The usual solution is ot use Alpine to add to LiveView but it didn't do enough for me. I'm a big fan of using static rendering as far as possible - I was "raised" on SSR Rails - but I know when I need an SPA.
You can use React. I recommend it in my GP comment.