Skip to content

Added Web SSR Handler#133

Merged
AlexanderKaran merged 2 commits intomainfrom
ssr-improvment
Feb 16, 2026
Merged

Added Web SSR Handler#133
AlexanderKaran merged 2 commits intomainfrom
ssr-improvment

Conversation

@AlexanderKaran
Copy link
Copy Markdown
Collaborator

@AlexanderKaran AlexanderKaran commented Feb 16, 2026

The SSR benchmark now supports both web (Request/Response) and Node (IncomingMessage/ServerResponse) handler types via a tagged union. React Router has been converted to use its native web handler (createRequestHandler), removing the unnecessary Node↔Web conversion overhead from @react-router/node.

The remaining frameworks still use Node handlers (for now) because each has hurdles, such as exports in build configurations, Nitro presets, or a lack of a web handler API.

Closes #110

Checklist

  • If updating UI/UX components ensure you have added screenshots or a gif or video of the changes to the PR description
  • If this is a dependabot PR that bumps a metaframework version, ensure that all package versions in the package match the versions installed by the metaframework version being bumped
  • If this is a dependabot PR that bumps a metaframework version in a starter-* package, ensure that the deps, and file content matches the output of the metaframeworks recommended starter/default project

Copy link
Copy Markdown
Contributor

@43081j 43081j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me 👍

@AlexanderKaran AlexanderKaran merged commit 83147e3 into main Feb 16, 2026
2 checks passed
@AlexanderKaran AlexanderKaran deleted the ssr-improvment branch February 16, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR handler: change from Node's IncomingMessage/ServerResponse to the standard Request/Response-API

2 participants