Yes, your method works in Label on both platforms and ListViewer on iOS. I tried 5-6 ways on Android and none of them works with ListViewer.
React Native is an interesting technology. There is also Native Script, but I like it less. At one time I was interested in qml and the V-Play platform. From - web frameworks like Framework7 - there is a very productive virtual list and many components.