From the eyes of a junior developer - Adding Loading fields on Redux sucks (sometimes)
We have all run into this at some point or other, we wish to perform a whole bunch of tasks, and at the same time prevent some other tasks to happen until we have a response come back from server.
We all have heard about the dreaded blue screen of death on windows but there’s a new “white screen of death” in town introduced in React 16, where now, if you run across an unhandled error all your customer sees… is a white screen!
What throws developers off guard is the fact that on development builds we are shown the error so we just try to work towards fixing but for any off-case which we didnt handle, react would not keep the last rendered state of the app! So even if one child component is misbehaving your entire app goes white!









More often than not, people approach error handling in calls using the approach we see above