Slots still loading during an unstable_swr merge lose their etags
Author: dai-shiCreated Sep 17, 2026Updated Sep 17, 2026
When elements are merged with unstable_swr, which instant navigation uses, each slot that isn't pinned becomes a placeholder that resolves to the new value later. Those placeholders are stored without an etag, so once they settle the Root has no etag for them, and the next request re-renders those slots instead of letting the server skip them. What renders is still correct; only etag reuse is lost for those slots.
This was a deliberate simplification in #2298: keeping etags for pending slots needed either tracking which values landed or attaching an etag to the pending promise, and both made the contract harder to follow. See swrElementsPromise in packages/waku/src/minimal/client.tsx.
Source: wakujs/waku