Question Regarding Redux state update
I was working with a redux to implement a feed like instagram and storing the data in redux.. but problem occurs if I just increase the number of items in feed, let say 10k, then perform different actions like like the post or upvote the post, taking time to show in UI... so what I did was make a local state (useSate()) for each post item for the like, and unlike then, I am updating the store and server for optimistic ui update.. but creating a separate local state and also maintaining a redix state, is it a good practice? Can I know a good solution in terms of large-scale applications like facebook instagram and what they do?
I think this is a good way but try asking reddit r/react for better answers grapevine is not a place
GhostCoder
Student
7 months ago
Sure
Discover More
Curated from across