Various times in history I tried to get my head around understanding when to use try/catch and when not to use it. Sometimes it’s just good to discuss it with your colleagues if you fail to properly understand the concept. Maybe they are able to fill in the missing parts.
A quick tip: conditional rendering in React Native.
Sometimes you will want to render an object only if sone value is true. Else you don’t want to render anything. Let’s say you want to show an error message, but only if you have an error. What wou could do is the following:
let errorObject =…