title: Use createSelector (or any memoized selector) with hooks without mapStateToProps
body: <p>I want to create a memoized selector which will update automatically when the state in the redux store changes.</p>
  
  <p>I read about Reselect's <code>createSelector</code> here:</p>
  
  <p><a href="https://redux.js.org/recipes/computing-derived-data" rel="noreferrer">https://redux.js.org/recipes/computing-derived-data</a></p>
  
  <p>I see that mapStateToProps is being used to connect the selector to the store.. I'm currently using redux with hooks only (<code>useDispatch</code> and <code>useSelector</code>) without using <code>connect(mapStateToProps, mapDispatchToProps)</code>. </p>
  
  <p>Is there a way to use <code>createSelector</code> but still without using <code>connect</code>? If not, is there maybe another way to create a memoized selector?</p>