-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single Fetch: returning null
from resource route loader leads to error
#9453
Comments
null
in resource route loader leads to errornull
from resource route loader leads to error
Hitting this as well when trying to use
|
This should be resolved in the next release via #9488 |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Reproduction
https://stackblitz.com/edit/remix-run-remix-xsdwha?file=app%2Froutes%2F_index.tsx
Just this triggers it when you don't have a default export (making it a resource route)
System Info
Used Package Manager
npm
Expected Behavior
It does not error.
Actual Behavior
Seeing this in Stackblitz:
Seeing this locally (node v20)
Looks like this stems from this because
typeof null === 'object
:remix/packages/remix-server-runtime/server.ts
Lines 594 to 600 in 2e65318
The text was updated successfully, but these errors were encountered: