Archives : April-2015

I’m using react and react-router for my application on the client side. I can’t seem to figure out how to get the following query parameters from a url like: http://xmen.database/search#/?status=APPROVED&page=1&limit=20 My routes look like this (the path is totally wrong I know): var routes = ( <Route> <DefaultRoute handler={SearchDisplay}/> <Route name=”search” path=”?status=:status&page=:page&limit=:limit” handler={SearchDisplay}/> <Route name=”xmen” ..

Read more

I have the following: <Route name=”app” path=”/” handler={App}> <Route name=”dashboards” path=”dashboards” handler={Dashboard}> <Route name=”exploreDashboard” path=”exploreDashboard” handler={ExploreDashboard} /> <Route name=”searchDashboard” path=”searchDashboard” handler={SearchDashboard} /> <DefaultRoute handler={DashboardExplain} /> </Route> <DefaultRoute handler={SearchDashboard} /> </Route> When using the DefaultRoute, SearchDashboard renders incorrectly since any *Dashboard needs to rendered within Dashboard. I would like for my DefaultRoute within the “app” Route ..

Read more