react-jobs icon indicating copy to clipboard operation
react-jobs copied to clipboard

ErrorComponent does not work on the server side

Open cloud-walker opened this issue 7 years ago • 0 comments

On my dummy project I'm trying to render the not found page if an error occurs, and it works on the client side (rendering the LoadingComponent first, as I expect). But Its not resolved from the server side! When instead if I use a catch on the work promise (and handle the NotFound rendering on the Component side) all works like a charm, but I fill like is not the right thing to do, as withJob should be the HoC to handle the promise..

schermata 2017-04-27 alle 10 53 37

cloud-walker avatar Apr 27 '17 09:04 cloud-walker