Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How to add refs to an array in React Native?

$
0
0

I want to store a ref in each elements of my arrays.Can I insert it direcrly in my array (modifying it) ?

    const item = [  {    id: "1",    name: "Text1",  },  {    id: "2",    name: "Text2",  },];

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>