1 points tewolde | 1 comments | | HN request time: 0.325s | source

Follow-up to a previous Show HN for vue-infinity: https://news.ycombinator.com/item?id=44375369

Just released a major new feature: v-ghost — a Vue directive that automatically unloads elements when they scroll out of view, without breaking layout or scroll position.

Now you can keep your DOM light without wrapper components or manual logic.

Just drop v-ghost on any element: <video v-ghost>...</video>

Keep your app trim without effort — kind of like Ozempic for Vue apps

Release notes: https://github.com/isaact/vue-infinity/releases/tag/v0.7.2

GitHub repo: https://github.com/isaact/vue-infinity

Would love feedback — use cases, edge cases, or anything that breaks.