petite-vue was announced about a month ago. I was wondering if anyone has tried it out as a replacement to alpine. It looks promising as a minimal js framework for liveview at least.
I don’t know how you would rename the PETAL stack though haha
petite-vue was announced about a month ago. I was wondering if anyone has tried it out as a replacement to alpine. It looks promising as a minimal js framework for liveview at least.
I don’t know how you would rename the PETAL stack though haha
I’ve had a bit of a look, and as far as I can tell, petite-vue doesn’t have a way to clone itself when LiveView updates the DOM (in Alpine, you usually do this in the onBeforeElUpdated
hook). I admittedly haven’t tried, but from this discussion it looks like you can only re-mount it (which loses state).
(As for a name, if someone gets it working – PETVL stack?)
I’d appreciate any feedback on petite-vue: how does it fare with LV, how does it compare with alpine, etc.