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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -