react-app-location icon indicating copy to clipboard operation
react-app-location copied to clipboard

A package to avoid repetition with Routes and URLs, and reduce boilerplate with location param parsing in React Apps

Results 10 react-app-location issues
Sort by recently updated
recently updated
newest added

fixes #6 Not 100% sure that package settings are correct, so you might want to double-check that :) --- This change is [](https://reviewable.io/reviews/bradstiff/react-app-location/14)

Can URL params be matched to a specific route? I would like something like `export const ManageAccountLocation = new Location('/auth/action')` `export const ManageAccountLocationLink = new Location('/auth/action?mode=:mode', {mode: str.required()})` for the...

Hello, Is there a way to use an alternative to Yup to define route parameters ? I don't need complex param validation for my project routes, and Yup is taking...

I would like to use the activeClassName prop in NavLink to highlight the current location. Is it possible to generate a NavLink from location or is there already a better...

After upgrading to react-dom 16.8 and react-router-dom 4.3.1 all routes are not rendered. Downgrading to 4.1.2 solves the problem. None of the routes outside the are rendered when upgrading to...

Hi Tried to use Location in Redirect like this its not working, does Location supports Redirection, and also history.push is not working, syntax history.push(xxxLocation.toUrl({id:id}));

In case, when location objects and matching components are stored in array of objects like this: `let routes = [{location: Location, component: Component}, ...]` and used in this way: ```javascript...

TS types would be super helpful. Thanks!

I'm using `react-loadable` to lazy load components, and it works fine with `react-router` v4 I tried to use the `toRoute` but the components no longer load it is hard for...