Skip to content

Why in the template "node-custom-server" there is server.js and server/app.ts? What can I put in the app.ts if I use SSR? #12867

Closed Answered by brookslybrand
nikas-belogolov asked this question in Q&A
Discussion options

You must be logged in to vote

I believe it's there just to separate the concerns of the React Router request handler from the rest of the express app. You should be able to inline it in server.js directly if you'd like

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaelDeBoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants