Posts by Mateus Lima • 1 point
1 post
-
0
votes1
answer35
viewsA: React Native refactorando class for Function Component
{sentences.map((item, index) => { return ( <TouchableOpacity onPress={() => { item.selected = false; sentences[index] = item setSentences(sentences); …