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?
[ Parent
| on HN ]
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.