You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/proud-timers-tickle.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,5 @@
2
2
"@remix-run/router": patch
3
3
---
4
4
5
-
fix: actions/loaders returning undefined should throw an error
5
+
- Throw an error if an `action`/`loader` function returns `undefined` as revalidations need to know whether the loader has previously been executed. `undefined` also causes issues during SSR stringification for hydration. You should always ensure you loader/acton return a value, and you may return `null` if you don't wish to return anything.
6
+
- Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios
0 commit comments