Skip to content

Conversation

elliottkember
Copy link
Contributor

The data prop is specifically not readonly which means that the results of a selector can't be passed to it.

Is there any potential downside to enabling readonly props here? The underlying flatlist prop is data: ?$ReadOnlyArray<ItemT>, and I hope this library isn't trying to modify the mutable prop value or anything.

Related:

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.

1 participant