example for multiple routes using same react class