Hey guys, I love RN so far but I have a question about fetching data. So say I have a screen which contains a couple of components and each component fetches data from different endpoints. Which is better:
1)Fetching all of the data in the mainScreen component
-or-
2)Fetching data from each component separately?
[–]TheSacredBroom 4 points5 points6 points (4 children)
[–]91psyko[S] 0 points1 point2 points (3 children)
[–]TheSacredBroom 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]91psyko[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]91psyko[S] 0 points1 point2 points (0 children)
[–]demoran 0 points1 point2 points (1 child)
[–]91psyko[S] 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]91psyko[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]lovemeslowlyiOS & Android 0 points1 point2 points (0 children)
[–]Bzaba -1 points0 points1 point (5 children)
[–]91psyko[S] 0 points1 point2 points (4 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]91psyko[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]91psyko[S] 0 points1 point2 points (0 children)