title: Reselect selectors structure
body: <p>i have the following example structure.. </p>
  
  <pre><code>userId: {
    savedEvents: {
       eventId: true,
       eventId: true,
       eventId: true,
    },
    organisedEvents: {
       eventId: true,
       eventId: true,
       eventId: true,
    },
    attendingEvents: {
       eventId: true,
       eventId: true,
       eventId: true,
    }
  }
  </code></pre>
  
  <p>I am using reselects createSelector method to try and chain selectors for memory optimisations and re-use of business logic..</p>
  
  <p><strong>For example :-</strong></p>
  
  <pre><code>userOrganisedEventsSelector
  </code></pre>
  
  <p>Returns a list of organised event ids. </p>
  
  <pre><code>activeUserOrganisedEventsSelector
  </code></pre>
  
  <p>Uses the output of userOrganisedEventsSelector with a set of filters have been applied</p>
  
  <pre><code>sortedActiveUserOrganisedEventsSelector 
  </code></pre>
  
  <p>Sorts the output of activeUserOrganisedEventsSelector</p>
  
  <p>The three above methods accept a prop object containing userId, from which it can then determine the organised event. </p>
  
  <p><strong>The problem :-</strong></p>
  
  <ol>
  <li><p>I want the same functionality for all three event types (savedEvents, organisedEvents and attendingEvents)</p></li>
  <li><p>In some scenarios i would like the userId to be provided by props, other times i need to use a userId from state. </p></li>
  </ol>
  
  <p>I am looking for help or advise on how to achieve this, without creating 30 odd functions, while keeping the benefits of memorising via reselect. </p>