Skip to content

Conversation

@NoodleOfDeath
Copy link

@NoodleOfDeath NoodleOfDeath commented Jul 4, 2023

Summary

This addresses

MenuItems uses an numeric index for reactive keys, so react has no idea that the item needs to be recomputed when the arrow function differs between two items but all other properties are the same. This should be exposed to the developers and required to prevent the side effect of the first onPress arrow function persisting for all items that only differ by their onPress property.

@ansh
Copy link

ansh commented Jul 6, 2023

This should be merged ASAP. @enesozturk

@kesha-antonov
Copy link
Contributor

Need this also 🙏🙏🙏
@enesozturk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants