Replies: 1 comment
-
Turn out the problem is the new data coming from backend not including count data under the category. so its missing count data (The old list containing count data for each categort) but not sure why it causing Flashlist not to rerender. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am displaying list of categories using Flashlist, but ExtraData isnt working when I create a new category. The form is using modal.
After I add new category, I update the list on redux, but the list doesnt rerender.
I am using true and false on ExtraData and update it on useEffect with categories state on redux.
my FlashList Component
This is How I update extradata
How I update the redux state
The list get updated, extradata is get updated on useEffect but the list wont update/rerender. The list still showing the old list.
Any idea whats wrong?
Beta Was this translation helpful? Give feedback.
All reactions