title: Change element content with onClick in React
body: <p>In my application I have multiple  blocks generated dynamically and each one of them has an onClick event.</p>
  
  <p>My goal is to be able to change the contents of the div when the click happens.</p>
  
  <p>Is there a way to do this thru <code>event.target</code> property of the <code>onClick</code> event? </p>
  
  <p>Or should i create a ref for each div upon creation and then work with refs?</p>
  
  <p>Or should i create an array of Div elements in component state and search&amp;modify the element later re-rendering all divs from array? </p>