title: Filter a list of items based on URL path
body: <p>I have a component list of items in React. I want to filter these items based on URL path. For example if URL is something like below line I want items to be filtered by <code>date</code> attribute, with value <code>2010</code> :</p>
  <pre><code>http://localhost:3000/?filter='date'&amp;value='2010'
  </code></pre>
  <p>As I'm so new in React I couldn't find any easy-to-understand answer, Is there any source I can learn about this question?</p>
  <p>Thanks in advance</p>