↧
Answer by Aris Tsermas for How to rerender FlatList inside of SmoothPicker to...
You should separate the feet & meters (the function tha generates them). Set data with useState & make meters as default make use of useEffect to change the data everytime you toggle. ......
View ArticleHow to rerender FlatList inside of SmoothPicker to change data with react hooks
I'm trying to create an SmoothPicker like that: I'm using react-native-smooth-picker and all works fine, except when I'm Changing to Feet. When I change to Feet, I want that the list will rerender and...
View Article