to show error messages you need a way to communicate with your UI thread. You may think you are abstracting it from react or redux, but in essense you must be dispatching an action to show the error message. This means that your interceptor has knowledge of redux actions, since at the end of the day, it has to notify react to "show something".

Front-end ReactJS Developer —

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aggelos Arvanitakis

Aggelos Arvanitakis

Front-end ReactJS Developer —

More from Medium

CS373 Spring 2022: Jay Acosta — Week 5

What is cheapest smm panel?

Sweepie’s: A Deep Clean into the Project

Self-Destruct Activated

Squid game