Proptypes for custom react hooks : <p>With react hooks coming, should we use prop-types for React custom hooks e.g,</p>

<pre><code>import React from 'react';
import PropTypes from 'prop-types';    

const useTitle = title =&gt; {
  React.useEffect(() =&gt; {
    document.title = title;
  }, [title]);
}

useTitle.propTypes = {
  title: PropTypes.string.isRequired,
};

export default useTitle;
</code></pre>

<p>Is the above a good approach to validate the param(s) passed to a custom react hooks or should there be a different way for validation the props/params passed to custom hook which is basically just a simple function. </p>
