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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -