I wouldn't recommend using localStorage for global error handling but, in the end, it's your testing setup and you should evaluate what works best for you, taking benefits/trade-offs into consideration.
I've written a more detailed response to Guilherme above, let me know what you think about it.
Thank you once more for this fantastic article!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, Rex.
I wouldn't recommend using
localStorage
for global error handling but, in the end, it's your testing setup and you should evaluate what works best for you, taking benefits/trade-offs into consideration.I've written a more detailed response to Guilherme above, let me know what you think about it.
Thank you once more for this fantastic article!