next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Universal dynamic routes for Next.js

Results 101 next-routes issues
Sort by recently updated
recently updated
newest added

The Link component should handle getting an anchor hash parameter and creating the correct `href` and `as` values. If the user is passing in `href` then ignore the hash parameter...

This includes PR #91 from @zentuit and adds hash support in pushRoute, replaceRoute, prefetchRoute

Hi I have a problem with NextJS and nested route. I set my routes like this: And I need that when the user go to the page /:id/explore load both...

given this routes.js: ``` module.exports = nextRoutes() .add("content", "/:path+"); ``` and in pages i have these: ``` about.js content.js index.js ``` now, if I go to "/about" with a ``,...

Now 2.0 has been released: https://zeit.co/blog/now-2 Specifically, the next.js docs encourage not using a file that specifies all the routes: > It might be tempting to use the now/node-server Builder,...

```https://www.redfin.com/city/30818/TX/Austin/filter/min-price=100k,max-price=325k``` I am building something that updates the state of the url based on a set of filters, Redfin's site is almost an exact match to my intended effect. The...

Hi, I have this code: ``` const routes = require('next-routes'); routes().add({ name: 'brand', pattern: "/search/:brand" }); ``` ``` Search ``` And my result is this: **/search/alpha%2Bromeo?sort:mileage%2Basc** I would like to...

### CHANGES * add `boolean` type for `{ shallow: true|false }` ### EXAMPLES ```js Router.replaceRoute('/foobar', { shallow: true }) ```

We recently upgraded to use `next8` our routes file has not changed. We have added the following route: `routes.add('test','test/:hello')` And inside pages/test.js ``` static async getInitialProps({ query }) { return...