You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the document, renderItem should be consistent with rn and obtain the item and index parameters. However, this is not provided in the code.
I am not sure how to correctly render the correct data based on the item.
The text was updated successfully, but these errors were encountered:
Hey @Innei, the readme docs aren’t correct and I’ll get them updated soon.
TS declaration and example from @FightFarewellFearless is accurate. The renderItem function doesn’t pass data or index as arguments, and doesn't support dynamic components or react effects since elements are created natively. To trigger changes when an item is pressed, you can use this to get the index of the pressed item:
According to the document, renderItem should be consistent with rn and obtain the item and index parameters. However, this is not provided in the code.
I am not sure how to correctly render the correct data based on the item.
The text was updated successfully, but these errors were encountered: