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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -