News for hackers. Stuff that matters.
Re:Petite-Vue – 5kb subset of Vue optimized for progressive ... by midrus on Saturday July 03, 2021 @06:50AM (#27720697)
By using this, how do you prevent the initial render (before js runs) the blink showing the user the raw template? That's a big drawback, isn't it?
Re:Petite-Vue – 5kb subset of Vue optimized for progressive ... by JZumun on Saturday July 03, 2021 @01:47PM (#27723402)
According to petite-vue's readme, it supports the `v-cloak` directive [0], which is how vue recommends you hide the unprocessed template before it is mounted.

For more complicated logic, I think working with the @mounted event might work.

[0] https://v3.vuejs.org/api/directives.html#v-cloak

Re:Petite-Vue – 5kb subset of Vue optimized for progressive ... by midrus on Sunday July 04, 2021 @01:42AM (#27727485)
Makes sense. Thanks!