The server.ts file in the RC
#5932
Replies: 4 comments 1 reply
-
|
Taken from here: #2863 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
P.S.: Most libraries have a |
Beta Was this translation helpful? Give feedback.
-
Tanstack Start has both import handler, { createServerEntry } from '@tanstack/react-start/server-entry'
export default createServerEntry({
fetch(request) {
return handler.fetch(request)
},
}import handler, { type ServerEntry } from '@tanstack/react-start/server-entry'
export default {
fetch(request) {
return handler.fetch(request)
},
} satsfies ServerEntry; |
Beta Was this translation helpful? Give feedback.
-
|
yeah this is all well documented in https://tanstack.com/start/latest/docs/framework/react/guide/server-entry-point we wont be updating the migration guide, please just refer to the docs |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
The migration documentation for the RC is incomplete. Can someone please expand on this:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions