Routes Defined in Extensions Fail #893
-
DescriptionApologies if this is intentional behavior. As of When running in dev mode, I get Using the restack project for reproduction
Works fine on
Its a weird use-case so I understand if this is not meant to be supported :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
What's your motivation for using |
Beta Was this translation helpful? Give feedback.
-
I'm building a framework for incremental migration off of server-rendered Rails. The goal is to be able to write new pages fully in React, but any requests that don't match a VPS-defined route get proxied to the legacy Rails app and the returned HTML is inserted into React (layout/navbar lives in React). I have pages defined in order to switch onRenderHtml/onRenderClient based on if we're serving proxied pages or not. There is some custom server logic to handle the proxying, but its all working if I don't use BTW, VPS has been amazing. I thought for a niche use-case like this we'd have to drop down to Vite's native SSR, which would have likely been too much work for us, but so far VPS's hooks have been exactly what we need. In the process of getting my company to sponsor :) |
Beta Was this translation helpful? Give feedback.
-
I can't reproduce at https://github.com/brillout/restack/tree/reprod/examples/basic: while I do get a Let's start with the regression. What's your reproduction steps? |
Beta Was this translation helpful? Give feedback.
@dajinchu Just released
0.4.125
: it should now work.