title: Create Dynamic route and render component in reactjs
body: <p>I am new in ReactJs.
  I need a route like localhost:3000/directory/category/region/brandName and for the same route, I need to render a component </p>
  
  <p>Sample of URL be like</p>
  
  <ol>
  <li>localhost:3000/directory/photography/france/testA</li>
  <li>localhost:3000/directory/Catering/germany/testB</li>
  </ol>
  
  <p>for both above URLs, a component called <strong>name.js</strong> should render</p>