Unhead 3.5 focuses on performance and correctness, especially when the browser picks up where the server left off.
A page can arrive with a large inline stylesheet that Unhead never needs to update. Unhead now skips building a lookup key from that CSS unless a client tag needs it. That made first hydration 23% faster in our Nuxt-style benchmark. Benchmark results
If the server already rendered all head tags your page needs, you can try the experimental lazy head. It queues changes until you call head.load(). Itβs available for Vue, React, Svelte, Solid and vanilla JavaScript. Lazy head API
This work also opens the door to compiled mode. Thatβs an opt-in approach weβre exploring for a future release, where the build prepares head tags ahead of time.
Looking for older releases?
View all releases on GitHub