I am using GraphQl with react native,when I use the queries on the same file ie. UI file then the queries are working perfectly but if I separate the queries and call them from different file (separating the network layer) then it doesn't work the way as expected like it gives "here is firstly get undefined then a get actual dataundefined" at the very first call and after that it returns the new data.
↧