I\'m writing a module that takes article data from json and shows a large image over the article text, a hero module as they say.
I\'ve got the data and have set it
As mentioned, onError is the way to go.
onError
If you're looking for a component that handles this for you, try https://github.com/socialtables/react-image-fallback