client and server-side routing for React.js