kit icon indicating copy to clipboard operation
kit copied to clipboard

Unify SSRState and RequestState

Open Nic-Polumeyv opened this issue 4 months ago • 0 comments

Describe the problem

https://github.com/sveltejs/kit/pull/16507#discussion_r3650265731

Describe the proposed solution

One request state object created per request, with an explicit fork for event.fetch sub-requests.

Remaining after those: options and manifest still travel through 13 signatures as a pair, while the manifest and read implementation also exist as module singletons that $app/server reads.

(Trimmed from the original, which also covered a dev hot.data context that no longer exists after the #16464 revert.)

Importance

nice to have

Nic-Polumeyv avatar Jul 25 '26 17:07 Nic-Polumeyv