title: React - How to set initial value of input element from redux?
body: <p>Basic scenario -</p>
  
  <p>I have an input element for e-mail address. On click of save, the e-mail is saved into the database. When I refresh, I want the saved value from database to show up as the initial value of the input. After that, I want to control the input's value through regular component state.
  The problem I am having is setting the initial state value from props.
  I thought I can set the state from props in CDU by making a prevProps to currentProps check. </p>
  
  <p>Actual scenario - </p>
  
  <p>The props I am trying to compare is an array of objects. So CDU shallow comparison won't help. How do I go about doing this?</p>
  
  <p>Please note that I am not using or do not want to use any form library as I just have 3 input fields in my applications.
  Thanks</p>