https://medium.com/@oluwadaprof/advanced-react-patterns-enhancing-error-handling-and-perceived-performance-78c39d5e9dce