Skip to content

Commit 51f453a

Browse files
committed
Update changelog
1 parent ce34caa commit 51f453a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.changeset/proud-timers-tickle.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
"@remix-run/router": patch
33
---
44

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

Comments
 (0)