Replies: 5 comments 1 reply
-
vite dev has issues, if you use express template it works under express |
Beta Was this translation helpful? Give feedback.
-
Interesting. The difference between dev (default builtin vite dev server) and prod (remix-serve express server) might be caused by this PR: These two are mostly same except that the PR removed this part since it had an unintended effect on the usage of React remix/packages/remix-express/server.ts Lines 99 to 101 in 4968e3a Now looking back the history of the code around (Actually I thought I think it's worth raising an issue. If you have a repro, then that would be great as well. Probably my PR was premature (namely #8062 and #8130). I didn't check at that time, but there is some difference left in Response handling and the actual fix should probably take into account this part as well. Also it's totally possible that react-dom remix/packages/remix-express/server.ts Line 117 in 4968e3a remix/packages/remix-dev/vite/node/adapter.ts Lines 57 to 59 in 4968e3a |
Beta Was this translation helpful? Give feedback.
-
Running into this exact same issue. Was there ever an issue filed? I'll open one if not. |
Beta Was this translation helpful? Give feedback.
-
I crated a stackblitz repro and filed a bug: #9438 |
Beta Was this translation helpful? Give feedback.
-
This should be resolved via #9976 |
Beta Was this translation helpful? Give feedback.
-
I am trying to abort SSR when the original request is aborted, i.e.
But I just realized that
CLEAR
is never called andrequest.signal.aborted
is alwaysfalse
– even after I navigate away from the page.For what it is worth, I think this happens only is Vite dev server and it works as expected in production.
Beta Was this translation helpful? Give feedback.
All reactions