Replies: 1 comment 1 reply
-
Accessing the store is just returning existing references already in memory. So no, I don't think Redux is related to this at all. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing high memory usage in my React Native app when rendering a large list using FlashList. The issue seems to arise due to how I'm accessing normalized data (normalized using Normalizr) inside the renderItem function. Specifically, I'm retrieving each item from the Redux store using store.getState() for every render.
I have tried accessing the data using both useSelector and direct store access (store.getState()), but both approaches lead to high memory consumption and performance issues.
Steps to Reproduce:
Expected Behavior:
Observed Behavior:
Questions:
Environment:
Would appreciate any insights or recommendations on resolving this issue!
Beta Was this translation helpful? Give feedback.
All reactions