For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /apis/app/hooks/src/server.md.

*.[server|node].tsx

Used in the application project to place server-side code. When *.tsx and *.[server|node].tsx coexist, SSR will prefer to use the *.[server|node].tsx file instead of the *.tsx file when rendering on the server.