3 ms·
What? Phoenix is dope because you get tailwind and esbuild without having to run a single npm install, then LiveView does most of the interactivity. My stack t
by sph 4y ago
What? Phoenix is dope because you get tailwind and esbuild without having to run a single npm install, then LiveView does most of the interactivity.
My stack these days is just Phoenix, Liveview and a sprinkle of client-side interactivity with Stimulus.js, which is super-simple, composable, progressive (i.e. just add it where you need it) and plays excellently with Liveview.
I am designing a super interactive, fully synchronized in real time dashboard with no more than 100 lines of Javascript code to handle: dropdown menus, show/hide burger menu, scroll to top after pagination. Just as it was originally designed, JS should only be the icing on the cake, not the entire buffet.
Yeah, I'm so hipster I'm already living in a post-Javascript world. Feels good, man.