title: Listen to react-day-picker input 'change' event
body: <p>I am using the react-day-picker library to display a date picker on my site. I would like to listen for when the date has been changed. I know there are onDayChange hooks you can add to the <code>DayPickerInput</code> components, but I want to listen for a change outside of the component. </p>
  
  <p>Example: (<a href="https://codesandbox.io/s/react-day-picker-base-mpcqy" rel="nofollow noreferrer">https://codesandbox.io/s/react-day-picker-base-mpcqy</a>)</p>
  
  <pre><code>import React from "react";
  import ReactDOM from "react-dom";
  import DayPickerInput from "react-day-picker/DayPickerInput";
  
  import "react-day-picker/lib/style.css";
  
  function Example() {
  
    return (
      &lt;div&gt;
        &lt;h3&gt;DayPickerInput&lt;/h3&gt;
        &lt;DayPickerInput placeholder="DD/MM/YYYY" format="DD/MM/YYYY" /&gt;
      &lt;/div&gt;
    );
  }
  
  ReactDOM.render(&lt;Example /&gt;, document.getElementById("root"));
  
  var input = document.getElementsByTagName("input")[0];
  input.addEventListener("change", () =&gt; {
    console.log("changed");
  });
  
  </code></pre>
  
  <p>I would expect the on change handler to be fired. I'm not sure why it isn't. How can I listen to the value change? </p>