Commit e33767a
fix flatlist props being undefined in ios (#43141)
Summary:
When using Flatlist on iOS and Android its failing because props are undefined
The problem is described on #34783


Fixed by setting constructor before any statement and removing unnecessary props declaration at the top of the class.
## Changelog:
<!-- Help reviewers and the release process by writing your own changelog entry.
Pick one each for the category and type tags:
[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message
For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[GENERAL] [FIXED] - Fix undefined props crash in FlatList
Pull Request resolved: #43141
Reviewed By: javache
Differential Revision: D54069559
Pulled By: robhogan
fbshipit-source-id: b39cd9a273eb0279ed353f9efcb66a3c4ccf93b41 parent b857a6e commit e33767a
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
| |||
0 commit comments