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..

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
catchon 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, aswithJobshould be the HoC to handle the promise..