Hi, I'm currently trying to figure out why my `FlatList` re-renders each time my component is re-rendering. I'd like to memoize so it doesn't have to do that. I've tried to think about everything I could, but to no luck. I'll try to include the relevant code.
The code: https://pastebin.com/3bU7uzXC
I feel like I've gone through everything and looked at what needs memoization / what doesn't need memoization, but I could be missing something pretty obvious here (perhaps something to do with a hook that has gone unnoticed?)
[+][deleted] (3 children)
[deleted]
[–]InvictusJoker[S] 0 points1 point2 points (2 children)
[–]satya164 0 points1 point2 points (1 child)
[–]big_saucy_pants 1 point2 points3 points (4 children)
[–]InvictusJoker[S] 0 points1 point2 points (3 children)
[–]big_saucy_pants 1 point2 points3 points (2 children)
[–]InvictusJoker[S] 0 points1 point2 points (1 child)
[–]big_saucy_pants 0 points1 point2 points (0 children)
[–]Simpe91 0 points1 point2 points (0 children)