kit
kit copied to clipboard
Unify SSRState and RequestState
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