Skip to content

Custom express middleware #12967

Answered by sergiodxa
einarq asked this question in Q&A
Feb 6, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Here's the official template using a custom Express server with React Router v7 framework mode https://github.com/remix-run/react-router-templates/tree/main/node-custom-server

I'm not sure if this will work with SPA Mode tho (I never used SPA Mode), but if it worked with Remix it should work with React Router v7.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@einarq
Comment options

Answer selected by einarq
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