Replies: 4 comments 6 replies
-
I support this idea. It makes sense and I also think if we see good adoption in community then diverging might also make sense because we can offer better APIs compared to What timeline did you have in mind for this? |
Beta Was this translation helpful? Give feedback.
-
My opinion is it looks contradicting our main selling point: the same API as |
Beta Was this translation helpful? Give feedback.
-
Created an issue here |
Beta Was this translation helpful? Give feedback.
-
Isn't this more close to what we had in the beginning? When I started the wrapper I manually created every prop for that reason, only the implemented ones should be there. I like this option, to make sure the parameters are exactly the same, but we will need to be careful every time FlatList changes one of the props, otherwise this could break our implementation:
|
Beta Was this translation helpful? Give feedback.
-
Currently, we define
FlashList
props like this:This means we implicitly allow usage of all
FlatListProps
- regardless of whether we support them or not. I find this concerning - users will use props they know but they won't do anything. We also reuse the documentation of those props fromFlatList
- but we might want to change it to better suit our list.I propose to define all the
FlatList
explicitly:Cons:
FlatList
without us knowing so. The biggest issue would be ifFlatList
renames a prop but I don't see that happening too often.Pros:
FlashList
behaviorWhat do you think? Should we make this change? 👀
Beta Was this translation helpful? Give feedback.
All reactions