Errors thrown in `loaderDeps` result in a blank page
It seems that the return value of
Therefore, I’m trying to do validation in
validateSearch gets re-merged back into the URL, which wasn’t clear in the docs. This isn’t the behaviour I prefer; I never really want to change what the user wrote.Therefore, I’m trying to do validation in
loaderDeps, but I found that throw-ing in loaderDeps results in a blank white page with nothing being output to the console. The onError handler does not get invoked. The exception gets completely swallowed. This can’t be the right behaviour?