Код: Выделить всё
{({data,loading,error})=>{ if(data && data.getBrand){ return(
) } else if (error) {return{JSON.stringify(error)}} else if (loading) {returnLoading...} else return null }}
25.00.489.69Подробнее здесь: https://stackoverflow.com/questions/730 ... act-native