title: Reactjs: br tag and ajax request
body: <p>My question is divided into two parts:</p>
  
  <ol>
  <li><p>I know how to do ajax request to third party api on componentDidMount but when i tried doing same request with a function on a click event it did not happen?</p></li>
  <li><p>I also tried to use <code>&lt;br&gt;</code> tag in react to break a line but it does not render at a all and gives me error.</p></li>
  </ol>
  
  <p>Can anyone please help me to understand why this is happening and how can i resolve these issues?</p>