You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem to render in a ListItem of react-native-elements or wherever else... ListView.. because the element in a list invokes this async method always like this:
Yes, you cannot use async methods from a render function.
And even if it wasn't a render function...you're calling your async method without using await, which is going to give you a Promise as a return value...
So.. I don't know how to solve this, because I need to show this value there and I don't use the same this.state.formattedNumber for more than one value to render in ListItem.
I followed the example to implement
Intl.NumberFormat
as async call but..https://github.com/taggon/react-native-intl/blob/master/Examples/Hello/index.android.js
There is a problem to render in a
ListItem
ofreact-native-elements
or wherever else...ListView
.. because the element in a list invokes this async method always like this:parse-times.js
list-data.js
I don't know why this returned a promise also.
The text was updated successfully, but these errors were encountered: