Javascript Redux - how to get an element from store by id : <p>For the past weeks I've been trying to learn React and Redux. 
Now I have met a problem thay I haven't found a right answer to.</p>

<p>Suppose I have a page in React that gets props from the link.</p>

<pre><code>const id = this.props.params.id;
</code></pre>

<p>Now on this page, I'd like to display an object from STORE with this ID.</p>

<pre><code> const initialState = [
      {
        title: 'Goal',
        author: 'admin',
        id: 0
      },
      {
        title: 'Goal vol2',
        author: 'admin',
        id: 1
      }
    ]
</code></pre>

<p>My question is:
should the function to query the the object from the STORE be in the page file, before the render method, or should I use action creators and include the function in reducers.
I've noticed that the reduceres seem to contain only actions that have an impoact on store, but mine just queries the store.</p>

<p>Thank you in advance.</p>
