title: React - use button for redirect link
body: <p>I'm new to <code>React</code> so sorry if this is too basic.</p>
  
  <p>I am trying to add a button in my app to redirect it to Spotify.</p>
  
  <p>This is how I'm trying to do it, so far.</p>
  
  <pre><code>class Spotify extends Component {
    constructor () {
      super()
      this.handleClick = this.handleClick.bind(this)
    }
  
    handleClick () {
      console.log('Success!')
    }
  
    render () {
      return (
        &lt;div className='button__container'&gt;
          &lt;button className='button' onClick={this.handleClick}&gt;
            Link your Spotify account
          &lt;/button&gt;
        &lt;/div&gt;
      )
    }
  }
  
  export default Spotify;
  </code></pre>
  
  <p>Now, what is the best way of linking the above button to:</p>
  
  <pre><code> &lt;a href="http://localhost:8888"&gt;&lt;/a&gt;
  </code></pre>