React Native (JSX) string replace -


is possible modify string in jsx? instance want search , replace string in image url.

  rendermovie: function(movie) {     return (       <view style={styles.container}>         <image           source={{uri: movie.posters.thumbnail}}           style={styles.thumbnail}         />         <view style={styles.rightcontainer}>           <text style={styles.title}>{movie.title}</text>           <text style={styles.year}>{movie.year}</text>         </view>       </view>     ); 

i want modify url here ( code taken here https://facebook.github.io/react-native/docs/tutorial.html#content)

movie.posters.thumbnail 


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -